From b552ede3b160087bf9035d1d72a31b031551c73b Mon Sep 17 00:00:00 2001
From: Min Jin
Date: Wed, 2 Oct 2024 22:04:03 -0700
Subject: [PATCH] Regenerate for 1.30, fix patches
Signed-off-by: Min Jin
---
.../client/extended/kubectl/KubectlDrain.java | 3 -
.../extended/kubectl/KubectlDeleteTest.java | 1 +
kubernetes/.github/workflows/maven.yml | 6 +-
kubernetes/.openapi-generator/COMMIT | 4 +-
kubernetes/.openapi-generator/VERSION | 2 +-
.../swagger.json-default.sha256 | 2 +-
kubernetes/api/openapi.yaml | 4120 +++++++++++++----
kubernetes/docs/V1ConfigMapEnvSource.md | 2 +-
kubernetes/docs/V1ConfigMapKeySelector.md | 2 +-
kubernetes/docs/V1ConfigMapProjection.md | 2 +-
kubernetes/docs/V1ConfigMapVolumeSource.md | 2 +-
kubernetes/docs/V1HostAlias.md | 2 +-
kubernetes/docs/V1HostIP.md | 2 +-
kubernetes/docs/V1LocalObjectReference.md | 2 +-
kubernetes/docs/V1PodIP.md | 2 +-
kubernetes/docs/V1SecretEnvSource.md | 2 +-
kubernetes/docs/V1SecretKeySelector.md | 2 +-
kubernetes/docs/V1SecretProjection.md | 2 +-
kubernetes/docs/V1ServiceSpec.md | 2 +-
.../V1ValidatingAdmissionPolicyBindingList.md | 2 +-
.../docs/V1ValidatingAdmissionPolicyList.md | 2 +-
...ha1ValidatingAdmissionPolicyBindingList.md | 2 +-
.../V1alpha1ValidatingAdmissionPolicyList.md | 2 +-
...ta1ValidatingAdmissionPolicyBindingList.md | 2 +-
.../V1beta1ValidatingAdmissionPolicyList.md | 2 +-
.../gson/V1MetadataExclusionStrategy.java | 28 +
.../kubernetes/client/openapi/ApiClient.java | 23 +-
.../client/openapi/ApiException.java | 5 +-
.../client/openapi/Configuration.java | 2 +-
.../io/kubernetes/client/openapi/JSON.java | 35 +-
.../io/kubernetes/client/openapi/Pair.java | 2 +-
.../client/openapi/ServerConfiguration.java | 1 +
.../client/openapi/ServerVariable.java | 1 +
.../kubernetes/client/openapi/StringUtil.java | 2 +-
.../apis/AdmissionregistrationApi.java | 1 -
.../apis/AdmissionregistrationV1Api.java | 1 -
.../AdmissionregistrationV1alpha1Api.java | 1 -
.../apis/AdmissionregistrationV1beta1Api.java | 1 -
.../client/openapi/apis/ApiextensionsApi.java | 1 -
.../openapi/apis/ApiextensionsV1Api.java | 1 -
.../openapi/apis/ApiregistrationApi.java | 1 -
.../openapi/apis/ApiregistrationV1Api.java | 1 -
.../client/openapi/apis/ApisApi.java | 1 -
.../client/openapi/apis/AppsApi.java | 1 -
.../client/openapi/apis/AppsV1Api.java | 1 -
.../openapi/apis/AuthenticationApi.java | 1 -
.../openapi/apis/AuthenticationV1Api.java | 1 -
.../apis/AuthenticationV1alpha1Api.java | 1 -
.../apis/AuthenticationV1beta1Api.java | 1 -
.../client/openapi/apis/AuthorizationApi.java | 1 -
.../openapi/apis/AuthorizationV1Api.java | 1 -
.../client/openapi/apis/AutoscalingApi.java | 1 -
.../client/openapi/apis/AutoscalingV1Api.java | 1 -
.../client/openapi/apis/AutoscalingV2Api.java | 1 -
.../client/openapi/apis/BatchApi.java | 1 -
.../client/openapi/apis/BatchV1Api.java | 1 -
.../client/openapi/apis/CertificatesApi.java | 1 -
.../openapi/apis/CertificatesV1Api.java | 1 -
.../openapi/apis/CertificatesV1alpha1Api.java | 1 -
.../client/openapi/apis/CoordinationApi.java | 1 -
.../openapi/apis/CoordinationV1Api.java | 1 -
.../client/openapi/apis/CoreApi.java | 1 -
.../client/openapi/apis/CoreV1Api.java | 1 -
.../client/openapi/apis/CustomObjectsApi.java | 1 -
.../client/openapi/apis/DiscoveryApi.java | 1 -
.../client/openapi/apis/DiscoveryV1Api.java | 1 -
.../client/openapi/apis/EventsApi.java | 1 -
.../client/openapi/apis/EventsV1Api.java | 1 -
.../openapi/apis/FlowcontrolApiserverApi.java | 1 -
.../apis/FlowcontrolApiserverV1Api.java | 1 -
.../apis/FlowcontrolApiserverV1beta3Api.java | 1 -
.../openapi/apis/InternalApiserverApi.java | 1 -
.../apis/InternalApiserverV1alpha1Api.java | 1 -
.../client/openapi/apis/LogsApi.java | 1 -
.../client/openapi/apis/NetworkingApi.java | 1 -
.../client/openapi/apis/NetworkingV1Api.java | 1 -
.../openapi/apis/NetworkingV1alpha1Api.java | 1 -
.../client/openapi/apis/NodeApi.java | 1 -
.../client/openapi/apis/NodeV1Api.java | 1 -
.../client/openapi/apis/OpenidApi.java | 1 -
.../client/openapi/apis/PolicyApi.java | 1 -
.../client/openapi/apis/PolicyV1Api.java | 1 -
.../openapi/apis/RbacAuthorizationApi.java | 1 -
.../openapi/apis/RbacAuthorizationV1Api.java | 1 -
.../client/openapi/apis/ResourceApi.java | 1 -
.../openapi/apis/ResourceV1alpha2Api.java | 1 -
.../client/openapi/apis/SchedulingApi.java | 1 -
.../client/openapi/apis/SchedulingV1Api.java | 1 -
.../client/openapi/apis/StorageApi.java | 1 -
.../client/openapi/apis/StorageV1Api.java | 1 -
.../openapi/apis/StorageV1alpha1Api.java | 1 -
.../openapi/apis/StoragemigrationApi.java | 1 -
.../apis/StoragemigrationV1alpha1Api.java | 1 -
.../client/openapi/apis/VersionApi.java | 1 -
.../client/openapi/apis/WellKnownApi.java | 1 -
.../client/openapi/auth/ApiKeyAuth.java | 2 +-
.../client/openapi/auth/HttpBearerAuth.java | 22 +-
.../openapi/models/AbstractOpenApiSchema.java | 7 +-
...missionregistrationV1ServiceReference.java | 42 +-
...sionregistrationV1WebhookClientConfig.java | 38 +-
.../ApiextensionsV1ServiceReference.java | 42 +-
.../ApiextensionsV1WebhookClientConfig.java | 38 +-
.../ApiregistrationV1ServiceReference.java | 36 +-
.../models/AuthenticationV1TokenRequest.java | 50 +-
.../openapi/models/CoreV1EndpointPort.java | 42 +-
.../client/openapi/models/CoreV1Event.java | 78 +-
.../openapi/models/CoreV1EventList.java | 46 +-
.../openapi/models/CoreV1EventSeries.java | 34 +-
.../models/DiscoveryV1EndpointPort.java | 38 +-
.../client/openapi/models/EventsV1Event.java | 78 +-
.../openapi/models/EventsV1EventList.java | 46 +-
.../openapi/models/EventsV1EventSeries.java | 38 +-
.../openapi/models/FlowcontrolV1Subject.java | 48 +-
.../client/openapi/models/RbacV1Subject.java | 42 +-
.../openapi/models/StorageV1TokenRequest.java | 38 +-
.../client/openapi/models/V1APIGroup.java | 54 +-
.../client/openapi/models/V1APIGroupList.java | 42 +-
.../client/openapi/models/V1APIResource.java | 62 +-
.../openapi/models/V1APIResourceList.java | 44 +-
.../client/openapi/models/V1APIService.java | 46 +-
.../openapi/models/V1APIServiceCondition.java | 44 +-
.../openapi/models/V1APIServiceList.java | 46 +-
.../openapi/models/V1APIServiceSpec.java | 50 +-
.../openapi/models/V1APIServiceStatus.java | 36 +-
.../client/openapi/models/V1APIVersions.java | 44 +-
.../V1AWSElasticBlockStoreVolumeSource.java | 42 +-
.../client/openapi/models/V1Affinity.java | 42 +-
.../openapi/models/V1AggregationRule.java | 36 +-
.../openapi/models/V1AppArmorProfile.java | 38 +-
.../openapi/models/V1AttachedVolume.java | 38 +-
.../openapi/models/V1AuditAnnotation.java | 38 +-
.../models/V1AzureDiskVolumeSource.java | 46 +-
.../V1AzureFilePersistentVolumeSource.java | 42 +-
.../models/V1AzureFileVolumeSource.java | 40 +-
.../client/openapi/models/V1Binding.java | 46 +-
.../models/V1BoundObjectReference.java | 38 +-
.../client/openapi/models/V1CSIDriver.java | 46 +-
.../openapi/models/V1CSIDriverList.java | 46 +-
.../openapi/models/V1CSIDriverSpec.java | 54 +-
.../client/openapi/models/V1CSINode.java | 46 +-
.../openapi/models/V1CSINodeDriver.java | 48 +-
.../client/openapi/models/V1CSINodeList.java | 46 +-
.../client/openapi/models/V1CSINodeSpec.java | 38 +-
.../models/V1CSIPersistentVolumeSource.java | 64 +-
.../openapi/models/V1CSIStorageCapacity.java | 52 +-
.../models/V1CSIStorageCapacityList.java | 46 +-
.../openapi/models/V1CSIVolumeSource.java | 46 +-
.../client/openapi/models/V1Capabilities.java | 42 +-
.../V1CephFSPersistentVolumeSource.java | 48 +-
.../openapi/models/V1CephFSVolumeSource.java | 48 +-
.../models/V1CertificateSigningRequest.java | 50 +-
.../V1CertificateSigningRequestCondition.java | 46 +-
.../V1CertificateSigningRequestList.java | 46 +-
.../V1CertificateSigningRequestSpec.java | 58 +-
.../V1CertificateSigningRequestStatus.java | 38 +-
.../V1CinderPersistentVolumeSource.java | 44 +-
.../openapi/models/V1CinderVolumeSource.java | 44 +-
.../client/openapi/models/V1ClaimSource.java | 34 +-
.../openapi/models/V1ClientIPConfig.java | 32 +-
.../client/openapi/models/V1ClusterRole.java | 48 +-
.../openapi/models/V1ClusterRoleBinding.java | 52 +-
.../models/V1ClusterRoleBindingList.java | 46 +-
.../openapi/models/V1ClusterRoleList.java | 46 +-
.../V1ClusterTrustBundleProjection.java | 46 +-
.../openapi/models/V1ComponentCondition.java | 42 +-
.../openapi/models/V1ComponentStatus.java | 44 +-
.../openapi/models/V1ComponentStatusList.java | 46 +-
.../client/openapi/models/V1Condition.java | 46 +-
.../client/openapi/models/V1ConfigMap.java | 44 +-
.../openapi/models/V1ConfigMapEnvSource.java | 36 +-
.../models/V1ConfigMapKeySelector.java | 42 +-
.../openapi/models/V1ConfigMapList.java | 46 +-
.../models/V1ConfigMapNodeConfigSource.java | 44 +-
.../openapi/models/V1ConfigMapProjection.java | 42 +-
.../models/V1ConfigMapVolumeSource.java | 44 +-
.../client/openapi/models/V1Container.java | 126 +-
.../openapi/models/V1ContainerImage.java | 38 +-
.../openapi/models/V1ContainerPort.java | 44 +-
.../models/V1ContainerResizePolicy.java | 38 +-
.../openapi/models/V1ContainerState.java | 42 +-
.../models/V1ContainerStateRunning.java | 32 +-
.../models/V1ContainerStateTerminated.java | 48 +-
.../models/V1ContainerStateWaiting.java | 34 +-
.../openapi/models/V1ContainerStatus.java | 68 +-
.../openapi/models/V1ControllerRevision.java | 46 +-
.../models/V1ControllerRevisionList.java | 46 +-
.../client/openapi/models/V1CronJob.java | 46 +-
.../client/openapi/models/V1CronJobList.java | 46 +-
.../client/openapi/models/V1CronJobSpec.java | 52 +-
.../openapi/models/V1CronJobStatus.java | 40 +-
.../models/V1CrossVersionObjectReference.java | 40 +-
.../V1CustomResourceColumnDefinition.java | 46 +-
.../models/V1CustomResourceConversion.java | 40 +-
.../models/V1CustomResourceDefinition.java | 50 +-
.../V1CustomResourceDefinitionCondition.java | 44 +-
.../V1CustomResourceDefinitionList.java | 46 +-
.../V1CustomResourceDefinitionNames.java | 54 +-
.../V1CustomResourceDefinitionSpec.java | 52 +-
.../V1CustomResourceDefinitionStatus.java | 46 +-
.../V1CustomResourceDefinitionVersion.java | 64 +-
.../V1CustomResourceSubresourceScale.java | 40 +-
.../models/V1CustomResourceSubresources.java | 36 +-
.../models/V1CustomResourceValidation.java | 34 +-
.../openapi/models/V1DaemonEndpoint.java | 36 +-
.../client/openapi/models/V1DaemonSet.java | 46 +-
.../openapi/models/V1DaemonSetCondition.java | 44 +-
.../openapi/models/V1DaemonSetList.java | 46 +-
.../openapi/models/V1DaemonSetSpec.java | 50 +-
.../openapi/models/V1DaemonSetStatus.java | 58 +-
.../models/V1DaemonSetUpdateStrategy.java | 36 +-
.../openapi/models/V1DeleteOptions.java | 50 +-
.../client/openapi/models/V1Deployment.java | 46 +-
.../openapi/models/V1DeploymentCondition.java | 46 +-
.../openapi/models/V1DeploymentList.java | 46 +-
.../openapi/models/V1DeploymentSpec.java | 56 +-
.../openapi/models/V1DeploymentStatus.java | 50 +-
.../openapi/models/V1DeploymentStrategy.java | 36 +-
.../models/V1DownwardAPIProjection.java | 36 +-
.../models/V1DownwardAPIVolumeFile.java | 46 +-
.../models/V1DownwardAPIVolumeSource.java | 38 +-
.../models/V1EmptyDirVolumeSource.java | 34 +-
.../client/openapi/models/V1Endpoint.java | 56 +-
.../openapi/models/V1EndpointAddress.java | 44 +-
.../openapi/models/V1EndpointConditions.java | 36 +-
.../openapi/models/V1EndpointHints.java | 36 +-
.../openapi/models/V1EndpointSlice.java | 54 +-
.../openapi/models/V1EndpointSliceList.java | 46 +-
.../openapi/models/V1EndpointSubset.java | 48 +-
.../client/openapi/models/V1Endpoints.java | 44 +-
.../openapi/models/V1EndpointsList.java | 46 +-
.../openapi/models/V1EnvFromSource.java | 40 +-
.../client/openapi/models/V1EnvVar.java | 42 +-
.../client/openapi/models/V1EnvVarSource.java | 46 +-
.../openapi/models/V1EphemeralContainer.java | 128 +-
.../models/V1EphemeralVolumeSource.java | 34 +-
.../client/openapi/models/V1EventSource.java | 34 +-
.../client/openapi/models/V1Eviction.java | 42 +-
.../client/openapi/models/V1ExecAction.java | 36 +-
.../V1ExemptPriorityLevelConfiguration.java | 34 +-
.../openapi/models/V1ExpressionWarning.java | 38 +-
.../models/V1ExternalDocumentation.java | 34 +-
.../openapi/models/V1FCVolumeSource.java | 48 +-
.../models/V1FlexPersistentVolumeSource.java | 46 +-
.../openapi/models/V1FlexVolumeSource.java | 46 +-
.../openapi/models/V1FlockerVolumeSource.java | 34 +-
.../models/V1FlowDistinguisherMethod.java | 36 +-
.../client/openapi/models/V1FlowSchema.java | 46 +-
.../openapi/models/V1FlowSchemaCondition.java | 40 +-
.../openapi/models/V1FlowSchemaList.java | 46 +-
.../openapi/models/V1FlowSchemaSpec.java | 50 +-
.../openapi/models/V1FlowSchemaStatus.java | 36 +-
.../client/openapi/models/V1ForZone.java | 36 +-
.../V1GCEPersistentDiskVolumeSource.java | 42 +-
.../client/openapi/models/V1GRPCAction.java | 38 +-
.../openapi/models/V1GitRepoVolumeSource.java | 40 +-
.../V1GlusterfsPersistentVolumeSource.java | 42 +-
.../models/V1GlusterfsVolumeSource.java | 40 +-
.../client/openapi/models/V1GroupSubject.java | 36 +-
.../models/V1GroupVersionForDiscovery.java | 38 +-
.../openapi/models/V1HTTPGetAction.java | 48 +-
.../client/openapi/models/V1HTTPHeader.java | 38 +-
.../openapi/models/V1HTTPIngressPath.java | 42 +-
.../models/V1HTTPIngressRuleValue.java | 38 +-
.../models/V1HorizontalPodAutoscaler.java | 46 +-
.../models/V1HorizontalPodAutoscalerList.java | 46 +-
.../models/V1HorizontalPodAutoscalerSpec.java | 44 +-
.../V1HorizontalPodAutoscalerStatus.java | 44 +-
.../client/openapi/models/V1HostAlias.java | 50 +-
.../client/openapi/models/V1HostIP.java | 44 +-
.../models/V1HostPathVolumeSource.java | 38 +-
.../client/openapi/models/V1IPBlock.java | 42 +-
.../models/V1ISCSIPersistentVolumeSource.java | 62 +-
.../openapi/models/V1ISCSIVolumeSource.java | 62 +-
.../client/openapi/models/V1Ingress.java | 46 +-
.../openapi/models/V1IngressBackend.java | 38 +-
.../client/openapi/models/V1IngressClass.java | 42 +-
.../openapi/models/V1IngressClassList.java | 46 +-
.../V1IngressClassParametersReference.java | 44 +-
.../openapi/models/V1IngressClassSpec.java | 36 +-
.../client/openapi/models/V1IngressList.java | 46 +-
.../models/V1IngressLoadBalancerIngress.java | 40 +-
.../models/V1IngressLoadBalancerStatus.java | 36 +-
.../openapi/models/V1IngressPortStatus.java | 40 +-
.../client/openapi/models/V1IngressRule.java | 36 +-
.../models/V1IngressServiceBackend.java | 40 +-
.../client/openapi/models/V1IngressSpec.java | 48 +-
.../openapi/models/V1IngressStatus.java | 34 +-
.../client/openapi/models/V1IngressTLS.java | 38 +-
.../openapi/models/V1JSONSchemaProps.java | 150 +-
.../client/openapi/models/V1Job.java | 46 +-
.../client/openapi/models/V1JobCondition.java | 46 +-
.../client/openapi/models/V1JobList.java | 46 +-
.../client/openapi/models/V1JobSpec.java | 74 +-
.../client/openapi/models/V1JobStatus.java | 58 +-
.../openapi/models/V1JobTemplateSpec.java | 38 +-
.../client/openapi/models/V1KeyToPath.java | 40 +-
.../openapi/models/V1LabelSelector.java | 38 +-
.../models/V1LabelSelectorRequirement.java | 44 +-
.../client/openapi/models/V1Lease.java | 42 +-
.../client/openapi/models/V1LeaseList.java | 46 +-
.../client/openapi/models/V1LeaseSpec.java | 40 +-
.../client/openapi/models/V1Lifecycle.java | 38 +-
.../openapi/models/V1LifecycleHandler.java | 46 +-
.../client/openapi/models/V1LimitRange.java | 42 +-
.../openapi/models/V1LimitRangeItem.java | 46 +-
.../openapi/models/V1LimitRangeList.java | 46 +-
.../openapi/models/V1LimitRangeSpec.java | 38 +-
.../openapi/models/V1LimitResponse.java | 40 +-
.../V1LimitedPriorityLevelConfiguration.java | 40 +-
.../client/openapi/models/V1ListMeta.java | 37 +-
.../openapi/models/V1LoadBalancerIngress.java | 42 +-
.../openapi/models/V1LoadBalancerStatus.java | 36 +-
.../models/V1LocalObjectReference.java | 34 +-
.../models/V1LocalSubjectAccessReview.java | 50 +-
.../openapi/models/V1LocalVolumeSource.java | 38 +-
.../openapi/models/V1ManagedFieldsEntry.java | 44 +-
.../openapi/models/V1MatchCondition.java | 38 +-
.../openapi/models/V1MatchResources.java | 52 +-
.../openapi/models/V1ModifyVolumeStatus.java | 38 +-
.../openapi/models/V1MutatingWebhook.java | 72 +-
.../V1MutatingWebhookConfiguration.java | 44 +-
.../V1MutatingWebhookConfigurationList.java | 46 +-
.../openapi/models/V1NFSVolumeSource.java | 40 +-
.../models/V1NamedRuleWithOperations.java | 62 +-
.../client/openapi/models/V1Namespace.java | 46 +-
.../openapi/models/V1NamespaceCondition.java | 44 +-
.../openapi/models/V1NamespaceList.java | 46 +-
.../openapi/models/V1NamespaceSpec.java | 36 +-
.../openapi/models/V1NamespaceStatus.java | 38 +-
.../openapi/models/V1NetworkPolicy.java | 42 +-
.../models/V1NetworkPolicyEgressRule.java | 42 +-
.../models/V1NetworkPolicyIngressRule.java | 42 +-
.../openapi/models/V1NetworkPolicyList.java | 46 +-
.../openapi/models/V1NetworkPolicyPeer.java | 42 +-
.../openapi/models/V1NetworkPolicyPort.java | 36 +-
.../openapi/models/V1NetworkPolicySpec.java | 56 +-
.../client/openapi/models/V1Node.java | 46 +-
.../client/openapi/models/V1NodeAddress.java | 38 +-
.../client/openapi/models/V1NodeAffinity.java | 40 +-
.../openapi/models/V1NodeCondition.java | 46 +-
.../openapi/models/V1NodeConfigSource.java | 34 +-
.../openapi/models/V1NodeConfigStatus.java | 44 +-
.../openapi/models/V1NodeDaemonEndpoints.java | 34 +-
.../client/openapi/models/V1NodeList.java | 46 +-
.../openapi/models/V1NodeRuntimeHandler.java | 36 +-
.../models/V1NodeRuntimeHandlerFeatures.java | 32 +-
.../client/openapi/models/V1NodeSelector.java | 38 +-
.../models/V1NodeSelectorRequirement.java | 44 +-
.../openapi/models/V1NodeSelectorTerm.java | 42 +-
.../client/openapi/models/V1NodeSpec.java | 54 +-
.../client/openapi/models/V1NodeStatus.java | 84 +-
.../openapi/models/V1NodeSystemInfo.java | 54 +-
.../models/V1NonResourceAttributes.java | 34 +-
.../models/V1NonResourcePolicyRule.java | 38 +-
.../openapi/models/V1NonResourceRule.java | 42 +-
.../openapi/models/V1ObjectFieldSelector.java | 38 +-
.../client/openapi/models/V1ObjectMeta.java | 72 +-
.../openapi/models/V1ObjectReference.java | 44 +-
.../client/openapi/models/V1Overhead.java | 32 +-
.../openapi/models/V1OwnerReference.java | 46 +-
.../client/openapi/models/V1ParamKind.java | 34 +-
.../client/openapi/models/V1ParamRef.java | 40 +-
.../openapi/models/V1PersistentVolume.java | 46 +-
.../models/V1PersistentVolumeClaim.java | 46 +-
.../V1PersistentVolumeClaimCondition.java | 46 +-
.../models/V1PersistentVolumeClaimList.java | 46 +-
.../models/V1PersistentVolumeClaimSpec.java | 60 +-
.../models/V1PersistentVolumeClaimStatus.java | 56 +-
.../V1PersistentVolumeClaimTemplate.java | 42 +-
.../V1PersistentVolumeClaimVolumeSource.java | 38 +-
.../models/V1PersistentVolumeList.java | 46 +-
.../models/V1PersistentVolumeSpec.java | 148 +-
.../models/V1PersistentVolumeStatus.java | 38 +-
.../V1PhotonPersistentDiskVolumeSource.java | 38 +-
.../client/openapi/models/V1Pod.java | 46 +-
.../client/openapi/models/V1PodAffinity.java | 42 +-
.../openapi/models/V1PodAffinityTerm.java | 62 +-
.../openapi/models/V1PodAntiAffinity.java | 42 +-
.../client/openapi/models/V1PodCondition.java | 46 +-
.../client/openapi/models/V1PodDNSConfig.java | 48 +-
.../openapi/models/V1PodDNSConfigOption.java | 34 +-
.../openapi/models/V1PodDisruptionBudget.java | 46 +-
.../models/V1PodDisruptionBudgetList.java | 46 +-
.../models/V1PodDisruptionBudgetSpec.java | 40 +-
.../models/V1PodDisruptionBudgetStatus.java | 52 +-
.../openapi/models/V1PodFailurePolicy.java | 38 +-
...odFailurePolicyOnExitCodesRequirement.java | 40 +-
...odFailurePolicyOnPodConditionsPattern.java | 38 +-
.../models/V1PodFailurePolicyRule.java | 46 +-
.../client/openapi/models/V1PodIP.java | 44 +-
.../client/openapi/models/V1PodList.java | 46 +-
.../client/openapi/models/V1PodOS.java | 36 +-
.../openapi/models/V1PodReadinessGate.java | 36 +-
.../openapi/models/V1PodResourceClaim.java | 40 +-
.../models/V1PodResourceClaimStatus.java | 38 +-
.../openapi/models/V1PodSchedulingGate.java | 36 +-
.../openapi/models/V1PodSecurityContext.java | 68 +-
.../client/openapi/models/V1PodSpec.java | 162 +-
.../client/openapi/models/V1PodStatus.java | 90 +-
.../client/openapi/models/V1PodTemplate.java | 42 +-
.../openapi/models/V1PodTemplateList.java | 46 +-
.../openapi/models/V1PodTemplateSpec.java | 38 +-
.../client/openapi/models/V1PolicyRule.java | 60 +-
.../models/V1PolicyRulesWithSubjects.java | 50 +-
.../client/openapi/models/V1PortStatus.java | 40 +-
.../models/V1PortworxVolumeSource.java | 40 +-
.../openapi/models/V1Preconditions.java | 34 +-
.../models/V1PreferredSchedulingTerm.java | 40 +-
.../openapi/models/V1PriorityClass.java | 50 +-
.../openapi/models/V1PriorityClassList.java | 46 +-
.../models/V1PriorityLevelConfiguration.java | 46 +-
...V1PriorityLevelConfigurationCondition.java | 40 +-
.../V1PriorityLevelConfigurationList.java | 46 +-
...V1PriorityLevelConfigurationReference.java | 36 +-
.../V1PriorityLevelConfigurationSpec.java | 44 +-
.../V1PriorityLevelConfigurationStatus.java | 36 +-
.../client/openapi/models/V1Probe.java | 58 +-
.../models/V1ProjectedVolumeSource.java | 38 +-
.../models/V1QueuingConfiguration.java | 36 +-
.../openapi/models/V1QuobyteVolumeSource.java | 46 +-
.../models/V1RBDPersistentVolumeSource.java | 52 +-
.../openapi/models/V1RBDVolumeSource.java | 52 +-
.../client/openapi/models/V1ReplicaSet.java | 46 +-
.../openapi/models/V1ReplicaSetCondition.java | 44 +-
.../openapi/models/V1ReplicaSetList.java | 46 +-
.../openapi/models/V1ReplicaSetSpec.java | 46 +-
.../openapi/models/V1ReplicaSetStatus.java | 50 +-
.../models/V1ReplicationController.java | 46 +-
.../V1ReplicationControllerCondition.java | 44 +-
.../models/V1ReplicationControllerList.java | 46 +-
.../models/V1ReplicationControllerSpec.java | 40 +-
.../models/V1ReplicationControllerStatus.java | 50 +-
.../openapi/models/V1ResourceAttributes.java | 44 +-
.../openapi/models/V1ResourceClaim.java | 36 +-
.../models/V1ResourceFieldSelector.java | 40 +-
.../openapi/models/V1ResourcePolicyRule.java | 48 +-
.../openapi/models/V1ResourceQuota.java | 46 +-
.../openapi/models/V1ResourceQuotaList.java | 46 +-
.../openapi/models/V1ResourceQuotaSpec.java | 42 +-
.../openapi/models/V1ResourceQuotaStatus.java | 34 +-
.../models/V1ResourceRequirements.java | 40 +-
.../client/openapi/models/V1ResourceRule.java | 54 +-
.../client/openapi/models/V1Role.java | 44 +-
.../client/openapi/models/V1RoleBinding.java | 52 +-
.../openapi/models/V1RoleBindingList.java | 46 +-
.../client/openapi/models/V1RoleList.java | 46 +-
.../client/openapi/models/V1RoleRef.java | 40 +-
.../models/V1RollingUpdateDaemonSet.java | 34 +-
.../models/V1RollingUpdateDeployment.java | 34 +-
.../V1RollingUpdateStatefulSetStrategy.java | 34 +-
.../openapi/models/V1RuleWithOperations.java | 56 +-
.../client/openapi/models/V1RuntimeClass.java | 52 +-
.../openapi/models/V1RuntimeClassList.java | 46 +-
.../openapi/models/V1SELinuxOptions.java | 38 +-
.../client/openapi/models/V1Scale.java | 46 +-
.../V1ScaleIOPersistentVolumeSource.java | 56 +-
.../openapi/models/V1ScaleIOVolumeSource.java | 56 +-
.../client/openapi/models/V1ScaleSpec.java | 32 +-
.../client/openapi/models/V1ScaleStatus.java | 38 +-
.../client/openapi/models/V1Scheduling.java | 38 +-
.../openapi/models/V1ScopeSelector.java | 36 +-
.../V1ScopedResourceSelectorRequirement.java | 44 +-
.../openapi/models/V1SeccompProfile.java | 38 +-
.../client/openapi/models/V1Secret.java | 46 +-
.../openapi/models/V1SecretEnvSource.java | 36 +-
.../openapi/models/V1SecretKeySelector.java | 42 +-
.../client/openapi/models/V1SecretList.java | 46 +-
.../openapi/models/V1SecretProjection.java | 42 +-
.../openapi/models/V1SecretReference.java | 34 +-
.../openapi/models/V1SecretVolumeSource.java | 42 +-
.../openapi/models/V1SecurityContext.java | 64 +-
.../openapi/models/V1SelectableField.java | 36 +-
.../models/V1SelfSubjectAccessReview.java | 50 +-
.../models/V1SelfSubjectAccessReviewSpec.java | 38 +-
.../openapi/models/V1SelfSubjectReview.java | 42 +-
.../models/V1SelfSubjectReviewStatus.java | 34 +-
.../models/V1SelfSubjectRulesReview.java | 50 +-
.../models/V1SelfSubjectRulesReviewSpec.java | 32 +-
.../models/V1ServerAddressByClientCIDR.java | 38 +-
.../client/openapi/models/V1Service.java | 46 +-
.../openapi/models/V1ServiceAccount.java | 52 +-
.../openapi/models/V1ServiceAccountList.java | 46 +-
.../models/V1ServiceAccountSubject.java | 38 +-
.../V1ServiceAccountTokenProjection.java | 40 +-
.../openapi/models/V1ServiceBackendPort.java | 34 +-
.../client/openapi/models/V1ServiceList.java | 46 +-
.../client/openapi/models/V1ServicePort.java | 46 +-
.../client/openapi/models/V1ServiceSpec.java | 94 +-
.../openapi/models/V1ServiceStatus.java | 40 +-
.../models/V1SessionAffinityConfig.java | 34 +-
.../client/openapi/models/V1SleepAction.java | 36 +-
.../client/openapi/models/V1StatefulSet.java | 46 +-
.../models/V1StatefulSetCondition.java | 44 +-
.../openapi/models/V1StatefulSetList.java | 46 +-
.../openapi/models/V1StatefulSetOrdinals.java | 32 +-
...tPersistentVolumeClaimRetentionPolicy.java | 34 +-
.../openapi/models/V1StatefulSetSpec.java | 70 +-
.../openapi/models/V1StatefulSetStatus.java | 58 +-
.../models/V1StatefulSetUpdateStrategy.java | 36 +-
.../client/openapi/models/V1Status.java | 48 +-
.../client/openapi/models/V1StatusCause.java | 36 +-
.../openapi/models/V1StatusDetails.java | 46 +-
.../client/openapi/models/V1StorageClass.java | 64 +-
.../openapi/models/V1StorageClassList.java | 46 +-
.../V1StorageOSPersistentVolumeSource.java | 42 +-
.../models/V1StorageOSVolumeSource.java | 42 +-
.../openapi/models/V1SubjectAccessReview.java | 50 +-
.../models/V1SubjectAccessReviewSpec.java | 50 +-
.../models/V1SubjectAccessReviewStatus.java | 42 +-
.../models/V1SubjectRulesReviewStatus.java | 46 +-
.../openapi/models/V1SuccessPolicy.java | 38 +-
.../openapi/models/V1SuccessPolicyRule.java | 34 +-
.../client/openapi/models/V1Sysctl.java | 38 +-
.../openapi/models/V1TCPSocketAction.java | 38 +-
.../client/openapi/models/V1Taint.java | 42 +-
.../openapi/models/V1TokenRequestSpec.java | 42 +-
.../openapi/models/V1TokenRequestStatus.java | 38 +-
.../client/openapi/models/V1TokenReview.java | 50 +-
.../openapi/models/V1TokenReviewSpec.java | 38 +-
.../openapi/models/V1TokenReviewStatus.java | 44 +-
.../client/openapi/models/V1Toleration.java | 40 +-
.../V1TopologySelectorLabelRequirement.java | 38 +-
.../models/V1TopologySelectorTerm.java | 36 +-
.../models/V1TopologySpreadConstraint.java | 56 +-
.../client/openapi/models/V1TypeChecking.java | 36 +-
.../models/V1TypedLocalObjectReference.java | 40 +-
.../models/V1TypedObjectReference.java | 42 +-
.../models/V1UncountedTerminatedPods.java | 42 +-
.../client/openapi/models/V1UserInfo.java | 42 +-
.../client/openapi/models/V1UserSubject.java | 36 +-
.../models/V1ValidatingAdmissionPolicy.java | 46 +-
.../V1ValidatingAdmissionPolicyBinding.java | 42 +-
...1ValidatingAdmissionPolicyBindingList.java | 74 +-
...1ValidatingAdmissionPolicyBindingSpec.java | 46 +-
.../V1ValidatingAdmissionPolicyList.java | 74 +-
.../V1ValidatingAdmissionPolicySpec.java | 64 +-
.../V1ValidatingAdmissionPolicyStatus.java | 42 +-
.../openapi/models/V1ValidatingWebhook.java | 70 +-
.../V1ValidatingWebhookConfiguration.java | 44 +-
.../V1ValidatingWebhookConfigurationList.java | 46 +-
.../client/openapi/models/V1Validation.java | 42 +-
.../openapi/models/V1ValidationRule.java | 46 +-
.../client/openapi/models/V1Variable.java | 38 +-
.../client/openapi/models/V1Volume.java | 152 +-
.../openapi/models/V1VolumeAttachment.java | 50 +-
.../models/V1VolumeAttachmentList.java | 46 +-
.../models/V1VolumeAttachmentSource.java | 36 +-
.../models/V1VolumeAttachmentSpec.java | 42 +-
.../models/V1VolumeAttachmentStatus.java | 46 +-
.../client/openapi/models/V1VolumeDevice.java | 38 +-
.../client/openapi/models/V1VolumeError.java | 34 +-
.../client/openapi/models/V1VolumeMount.java | 48 +-
.../openapi/models/V1VolumeMountStatus.java | 42 +-
.../openapi/models/V1VolumeNodeAffinity.java | 34 +-
.../openapi/models/V1VolumeNodeResources.java | 32 +-
.../openapi/models/V1VolumeProjection.java | 50 +-
.../models/V1VolumeResourceRequirements.java | 34 +-
.../V1VsphereVirtualDiskVolumeSource.java | 42 +-
.../client/openapi/models/V1WatchEvent.java | 38 +-
.../openapi/models/V1WebhookConversion.java | 40 +-
.../models/V1WeightedPodAffinityTerm.java | 40 +-
.../V1WindowsSecurityContextOptions.java | 38 +-
.../models/V1alpha1AuditAnnotation.java | 38 +-
.../models/V1alpha1ClusterTrustBundle.java | 46 +-
.../V1alpha1ClusterTrustBundleList.java | 46 +-
.../V1alpha1ClusterTrustBundleSpec.java | 38 +-
.../models/V1alpha1ExpressionWarning.java | 38 +-
.../models/V1alpha1GroupVersionResource.java | 36 +-
.../openapi/models/V1alpha1IPAddress.java | 42 +-
.../openapi/models/V1alpha1IPAddressList.java | 46 +-
.../openapi/models/V1alpha1IPAddressSpec.java | 38 +-
.../models/V1alpha1MatchCondition.java | 38 +-
.../models/V1alpha1MatchResources.java | 52 +-
.../models/V1alpha1MigrationCondition.java | 44 +-
.../V1alpha1NamedRuleWithOperations.java | 62 +-
.../openapi/models/V1alpha1ParamKind.java | 34 +-
.../openapi/models/V1alpha1ParamRef.java | 40 +-
.../models/V1alpha1ParentReference.java | 42 +-
.../models/V1alpha1SelfSubjectReview.java | 42 +-
.../V1alpha1SelfSubjectReviewStatus.java | 34 +-
.../models/V1alpha1ServerStorageVersion.java | 46 +-
.../openapi/models/V1alpha1ServiceCIDR.java | 46 +-
.../models/V1alpha1ServiceCIDRList.java | 46 +-
.../models/V1alpha1ServiceCIDRSpec.java | 36 +-
.../models/V1alpha1ServiceCIDRStatus.java | 36 +-
.../models/V1alpha1StorageVersion.java | 48 +-
.../V1alpha1StorageVersionCondition.java | 46 +-
.../models/V1alpha1StorageVersionList.java | 46 +-
.../V1alpha1StorageVersionMigration.java | 46 +-
.../V1alpha1StorageVersionMigrationList.java | 46 +-
.../V1alpha1StorageVersionMigrationSpec.java | 40 +-
...V1alpha1StorageVersionMigrationStatus.java | 38 +-
.../models/V1alpha1StorageVersionStatus.java | 44 +-
.../openapi/models/V1alpha1TypeChecking.java | 36 +-
.../V1alpha1ValidatingAdmissionPolicy.java | 46 +-
...lpha1ValidatingAdmissionPolicyBinding.java | 42 +-
...1ValidatingAdmissionPolicyBindingList.java | 74 +-
...1ValidatingAdmissionPolicyBindingSpec.java | 46 +-
...V1alpha1ValidatingAdmissionPolicyList.java | 74 +-
...V1alpha1ValidatingAdmissionPolicySpec.java | 64 +-
...alpha1ValidatingAdmissionPolicyStatus.java | 42 +-
.../openapi/models/V1alpha1Validation.java | 42 +-
.../openapi/models/V1alpha1Variable.java | 38 +-
.../models/V1alpha1VolumeAttributesClass.java | 46 +-
.../V1alpha1VolumeAttributesClassList.java | 46 +-
.../models/V1alpha2AllocationResult.java | 42 +-
.../V1alpha2DriverAllocationResult.java | 36 +-
.../models/V1alpha2DriverRequests.java | 40 +-
...1alpha2NamedResourcesAllocationResult.java | 36 +-
.../V1alpha2NamedResourcesAttribute.java | 54 +-
.../models/V1alpha2NamedResourcesFilter.java | 36 +-
.../V1alpha2NamedResourcesInstance.java | 42 +-
.../V1alpha2NamedResourcesIntSlice.java | 36 +-
.../models/V1alpha2NamedResourcesRequest.java | 36 +-
.../V1alpha2NamedResourcesResources.java | 38 +-
.../V1alpha2NamedResourcesStringSlice.java | 36 +-
.../models/V1alpha2PodSchedulingContext.java | 50 +-
.../V1alpha2PodSchedulingContextList.java | 46 +-
.../V1alpha2PodSchedulingContextSpec.java | 38 +-
.../V1alpha2PodSchedulingContextStatus.java | 36 +-
.../openapi/models/V1alpha2ResourceClaim.java | 50 +-
...1alpha2ResourceClaimConsumerReference.java | 42 +-
.../models/V1alpha2ResourceClaimList.java | 46 +-
.../V1alpha2ResourceClaimParameters.java | 50 +-
.../V1alpha2ResourceClaimParametersList.java | 46 +-
...lpha2ResourceClaimParametersReference.java | 40 +-
...V1alpha2ResourceClaimSchedulingStatus.java | 38 +-
.../models/V1alpha2ResourceClaimSpec.java | 42 +-
.../models/V1alpha2ResourceClaimStatus.java | 44 +-
.../models/V1alpha2ResourceClaimTemplate.java | 46 +-
.../V1alpha2ResourceClaimTemplateList.java | 46 +-
.../V1alpha2ResourceClaimTemplateSpec.java | 42 +-
.../openapi/models/V1alpha2ResourceClass.java | 54 +-
.../models/V1alpha2ResourceClassList.java | 46 +-
.../V1alpha2ResourceClassParameters.java | 54 +-
.../V1alpha2ResourceClassParametersList.java | 46 +-
...lpha2ResourceClassParametersReference.java | 42 +-
.../models/V1alpha2ResourceFilter.java | 36 +-
.../models/V1alpha2ResourceHandle.java | 38 +-
.../models/V1alpha2ResourceRequest.java | 36 +-
.../openapi/models/V1alpha2ResourceSlice.java | 50 +-
.../models/V1alpha2ResourceSliceList.java | 46 +-
.../V1alpha2StructuredResourceHandle.java | 44 +-
.../models/V1alpha2VendorParameters.java | 34 +-
.../models/V1beta1AuditAnnotation.java | 38 +-
.../models/V1beta1ExpressionWarning.java | 38 +-
.../openapi/models/V1beta1MatchCondition.java | 38 +-
.../openapi/models/V1beta1MatchResources.java | 52 +-
.../V1beta1NamedRuleWithOperations.java | 62 +-
.../openapi/models/V1beta1ParamKind.java | 34 +-
.../openapi/models/V1beta1ParamRef.java | 40 +-
.../models/V1beta1SelfSubjectReview.java | 42 +-
.../V1beta1SelfSubjectReviewStatus.java | 34 +-
.../openapi/models/V1beta1TypeChecking.java | 36 +-
.../V1beta1ValidatingAdmissionPolicy.java | 46 +-
...beta1ValidatingAdmissionPolicyBinding.java | 42 +-
...1ValidatingAdmissionPolicyBindingList.java | 74 +-
...1ValidatingAdmissionPolicyBindingSpec.java | 46 +-
.../V1beta1ValidatingAdmissionPolicyList.java | 74 +-
.../V1beta1ValidatingAdmissionPolicySpec.java | 64 +-
...1beta1ValidatingAdmissionPolicyStatus.java | 42 +-
.../openapi/models/V1beta1Validation.java | 42 +-
.../openapi/models/V1beta1Variable.java | 38 +-
...beta3ExemptPriorityLevelConfiguration.java | 34 +-
.../V1beta3FlowDistinguisherMethod.java | 36 +-
.../openapi/models/V1beta3FlowSchema.java | 46 +-
.../models/V1beta3FlowSchemaCondition.java | 40 +-
.../openapi/models/V1beta3FlowSchemaList.java | 46 +-
.../openapi/models/V1beta3FlowSchemaSpec.java | 50 +-
.../models/V1beta3FlowSchemaStatus.java | 36 +-
.../openapi/models/V1beta3GroupSubject.java | 36 +-
.../openapi/models/V1beta3LimitResponse.java | 40 +-
...eta3LimitedPriorityLevelConfiguration.java | 40 +-
.../models/V1beta3NonResourcePolicyRule.java | 38 +-
.../V1beta3PolicyRulesWithSubjects.java | 50 +-
.../V1beta3PriorityLevelConfiguration.java | 46 +-
...a3PriorityLevelConfigurationCondition.java | 40 +-
...V1beta3PriorityLevelConfigurationList.java | 46 +-
...a3PriorityLevelConfigurationReference.java | 36 +-
...V1beta3PriorityLevelConfigurationSpec.java | 44 +-
...beta3PriorityLevelConfigurationStatus.java | 36 +-
.../models/V1beta3QueuingConfiguration.java | 36 +-
.../models/V1beta3ResourcePolicyRule.java | 48 +-
.../models/V1beta3ServiceAccountSubject.java | 38 +-
.../client/openapi/models/V1beta3Subject.java | 48 +-
.../openapi/models/V1beta3UserSubject.java | 36 +-
.../V2ContainerResourceMetricSource.java | 42 +-
.../V2ContainerResourceMetricStatus.java | 42 +-
.../models/V2CrossVersionObjectReference.java | 40 +-
.../models/V2ExternalMetricSource.java | 42 +-
.../models/V2ExternalMetricStatus.java | 42 +-
.../openapi/models/V2HPAScalingPolicy.java | 40 +-
.../openapi/models/V2HPAScalingRules.java | 40 +-
.../models/V2HorizontalPodAutoscaler.java | 46 +-
.../V2HorizontalPodAutoscalerBehavior.java | 38 +-
.../V2HorizontalPodAutoscalerCondition.java | 44 +-
.../models/V2HorizontalPodAutoscalerList.java | 46 +-
.../models/V2HorizontalPodAutoscalerSpec.java | 52 +-
.../V2HorizontalPodAutoscalerStatus.java | 54 +-
.../openapi/models/V2MetricIdentifier.java | 40 +-
.../client/openapi/models/V2MetricSpec.java | 56 +-
.../client/openapi/models/V2MetricStatus.java | 56 +-
.../client/openapi/models/V2MetricTarget.java | 42 +-
.../openapi/models/V2MetricValueStatus.java | 36 +-
.../openapi/models/V2ObjectMetricSource.java | 46 +-
.../openapi/models/V2ObjectMetricStatus.java | 46 +-
.../openapi/models/V2PodsMetricSource.java | 42 +-
.../openapi/models/V2PodsMetricStatus.java | 42 +-
.../models/V2ResourceMetricSource.java | 40 +-
.../models/V2ResourceMetricStatus.java | 40 +-
.../client/openapi/models/VersionInfo.java | 52 +-
kubernetes/swagger.json | 45 +-
scripts/patches/json.diff | 8 +-
scripts/patches/list-meta.diff | 11 +-
scripts/patches/secret.diff | 12 +-
scripts/patches/status.diff | 10 +-
.../java/io/kubernetes/client/util/Yaml.java | 4 +
717 files changed, 14758 insertions(+), 17276 deletions(-)
create mode 100644 kubernetes/src/main/java/io/kubernetes/client/gson/V1MetadataExclusionStrategy.java
diff --git a/extended/src/main/java/io/kubernetes/client/extended/kubectl/KubectlDrain.java b/extended/src/main/java/io/kubernetes/client/extended/kubectl/KubectlDrain.java
index 7b563c3915..7b4baf552d 100644
--- a/extended/src/main/java/io/kubernetes/client/extended/kubectl/KubectlDrain.java
+++ b/extended/src/main/java/io/kubernetes/client/extended/kubectl/KubectlDrain.java
@@ -93,9 +93,6 @@ private void validatePods(List pods) throws KubectlException {
for (V1Pod pod : pods) {
if (pod.getMetadata().getOwnerReferences() == null) continue;
- if (!force && pod.getMetadata().getOwnerReferences().size() == 0) {
- throw new KubectlException("Pods unmanaged by a controller are present on the node");
- }
// Throw exception if there are daemon set pods and ignore daemon set is false
if (!ignoreDaemonSets) {
for (V1OwnerReference ref : pod.getMetadata().getOwnerReferences()) {
diff --git a/extended/src/test/java/io/kubernetes/client/extended/kubectl/KubectlDeleteTest.java b/extended/src/test/java/io/kubernetes/client/extended/kubectl/KubectlDeleteTest.java
index aa74a1cc1a..7f73c98a4c 100644
--- a/extended/src/test/java/io/kubernetes/client/extended/kubectl/KubectlDeleteTest.java
+++ b/extended/src/test/java/io/kubernetes/client/extended/kubectl/KubectlDeleteTest.java
@@ -211,6 +211,7 @@ void kubectlDelete() throws KubectlException, ApiException {
kubectlDelete.namespace("foo").name("bar");
DeleteOptions deleteOptions = new DeleteOptions();
deleteOptions.setPropagationPolicy("Foreground");
+ deleteOptions.setDryRun(null);
kubectlDelete.deleteOptions(deleteOptions);
kubectlDelete.execute();
apiServer.verify(
diff --git a/kubernetes/.github/workflows/maven.yml b/kubernetes/.github/workflows/maven.yml
index e6fadf5668..2bdb7b6d47 100644
--- a/kubernetes/.github/workflows/maven.yml
+++ b/kubernetes/.github/workflows/maven.yml
@@ -17,11 +17,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- java: [ '8' ]
+ java: [ 17, 21 ]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Set up JDK
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
diff --git a/kubernetes/.openapi-generator/COMMIT b/kubernetes/.openapi-generator/COMMIT
index e55d78f521..eaeb6a15ba 100644
--- a/kubernetes/.openapi-generator/COMMIT
+++ b/kubernetes/.openapi-generator/COMMIT
@@ -1,2 +1,2 @@
-Requested Commit/Tag : v6.6.0
-Actual Commit : 7f8b853f502d9039c9a0aac2614ce92871e895ed
+Requested Commit/Tag : v7.6.0
+Actual Commit : ab7d0cb74f6ef95bdaeafd327bbdb5d54f819175
diff --git a/kubernetes/.openapi-generator/VERSION b/kubernetes/.openapi-generator/VERSION
index cd802a1ec4..93c8ddab9f 100644
--- a/kubernetes/.openapi-generator/VERSION
+++ b/kubernetes/.openapi-generator/VERSION
@@ -1 +1 @@
-6.6.0
\ No newline at end of file
+7.6.0
diff --git a/kubernetes/.openapi-generator/swagger.json-default.sha256 b/kubernetes/.openapi-generator/swagger.json-default.sha256
index cba24b73ed..7ec71b05f0 100644
--- a/kubernetes/.openapi-generator/swagger.json-default.sha256
+++ b/kubernetes/.openapi-generator/swagger.json-default.sha256
@@ -1 +1 @@
-d4cf964586286f87943c945f2bdce2e177ff733dc7431b40cc7c3c6982ee3c60
\ No newline at end of file
+1c81e5babf0c4a980f711a4272c350d0b657df2666a570aca99c255314d67139
\ No newline at end of file
diff --git a/kubernetes/api/openapi.yaml b/kubernetes/api/openapi.yaml
index 01581cc577..84c5ce3c55 100644
--- a/kubernetes/api/openapi.yaml
+++ b/kubernetes/api/openapi.yaml
@@ -29,7 +29,10 @@ paths:
description: Unauthorized
tags:
- core
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/:
get:
description: get available resources
@@ -52,7 +55,10 @@ paths:
description: Unauthorized
tags:
- core_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/componentstatuses:
get:
description: list objects of kind ComponentStatus
@@ -178,7 +184,12 @@ paths:
group: ""
kind: ComponentStatus
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/componentstatuses/{name}:
get:
description: read the specified ComponentStatus
@@ -220,7 +231,10 @@ paths:
group: ""
kind: ComponentStatus
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/configmaps:
get:
description: list or watch objects of kind ConfigMap
@@ -346,7 +360,12 @@ paths:
group: ""
kind: ConfigMap
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/endpoints:
get:
description: list or watch objects of kind Endpoints
@@ -472,7 +491,12 @@ paths:
group: ""
kind: Endpoints
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/events:
get:
description: list or watch objects of kind Event
@@ -598,7 +622,12 @@ paths:
group: ""
kind: Event
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/limitranges:
get:
description: list or watch objects of kind LimitRange
@@ -724,7 +753,12 @@ paths:
group: ""
kind: LimitRange
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/namespaces:
get:
description: list or watch objects of kind Namespace
@@ -850,7 +884,12 @@ paths:
group: ""
kind: Namespace
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Namespace
operationId: createNamespace
@@ -949,7 +988,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/bindings:
post:
description: create a Binding
@@ -1055,7 +1097,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/configmaps:
delete:
description: delete collection of ConfigMap
@@ -1209,7 +1254,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ConfigMap
operationId: listNamespacedConfigMap
@@ -1340,7 +1388,12 @@ paths:
group: ""
kind: ConfigMap
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ConfigMap
operationId: createNamespacedConfigMap
@@ -1445,7 +1498,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/configmaps/{name}:
delete:
description: delete a ConfigMap
@@ -1549,7 +1605,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ConfigMap
operationId: readNamespacedConfigMap
@@ -1596,7 +1655,10 @@ paths:
group: ""
kind: ConfigMap
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ConfigMap
operationId: patchNamespacedConfigMap
@@ -1704,7 +1766,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ConfigMap
operationId: replaceNamespacedConfigMap
@@ -1803,7 +1868,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/endpoints:
delete:
description: delete collection of Endpoints
@@ -1957,7 +2025,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Endpoints
operationId: listNamespacedEndpoints
@@ -2088,7 +2159,12 @@ paths:
group: ""
kind: Endpoints
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create Endpoints
operationId: createNamespacedEndpoints
@@ -2193,7 +2269,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/endpoints/{name}:
delete:
description: delete Endpoints
@@ -2297,7 +2376,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Endpoints
operationId: readNamespacedEndpoints
@@ -2344,7 +2426,10 @@ paths:
group: ""
kind: Endpoints
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Endpoints
operationId: patchNamespacedEndpoints
@@ -2452,7 +2537,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Endpoints
operationId: replaceNamespacedEndpoints
@@ -2551,7 +2639,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/events:
delete:
description: delete collection of Event
@@ -2705,7 +2796,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Event
operationId: listNamespacedEvent
@@ -2836,7 +2930,12 @@ paths:
group: ""
kind: Event
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an Event
operationId: createNamespacedEvent
@@ -2941,7 +3040,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/events/{name}:
delete:
description: delete an Event
@@ -3045,7 +3147,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Event
operationId: readNamespacedEvent
@@ -3092,7 +3197,10 @@ paths:
group: ""
kind: Event
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Event
operationId: patchNamespacedEvent
@@ -3200,7 +3308,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Event
operationId: replaceNamespacedEvent
@@ -3299,7 +3410,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/limitranges:
delete:
description: delete collection of LimitRange
@@ -3453,7 +3567,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind LimitRange
operationId: listNamespacedLimitRange
@@ -3584,7 +3701,12 @@ paths:
group: ""
kind: LimitRange
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a LimitRange
operationId: createNamespacedLimitRange
@@ -3689,7 +3811,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/limitranges/{name}:
delete:
description: delete a LimitRange
@@ -3793,7 +3918,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified LimitRange
operationId: readNamespacedLimitRange
@@ -3840,7 +3968,10 @@ paths:
group: ""
kind: LimitRange
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified LimitRange
operationId: patchNamespacedLimitRange
@@ -3948,7 +4079,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified LimitRange
operationId: replaceNamespacedLimitRange
@@ -4047,7 +4181,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/persistentvolumeclaims:
delete:
description: delete collection of PersistentVolumeClaim
@@ -4201,7 +4338,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PersistentVolumeClaim
operationId: listNamespacedPersistentVolumeClaim
@@ -4332,7 +4472,12 @@ paths:
group: ""
kind: PersistentVolumeClaim
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PersistentVolumeClaim
operationId: createNamespacedPersistentVolumeClaim
@@ -4437,7 +4582,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}:
delete:
description: delete a PersistentVolumeClaim
@@ -4541,7 +4689,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PersistentVolumeClaim
operationId: readNamespacedPersistentVolumeClaim
@@ -4588,7 +4739,10 @@ paths:
group: ""
kind: PersistentVolumeClaim
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PersistentVolumeClaim
operationId: patchNamespacedPersistentVolumeClaim
@@ -4696,7 +4850,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PersistentVolumeClaim
operationId: replaceNamespacedPersistentVolumeClaim
@@ -4795,7 +4952,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status:
get:
description: read status of the specified PersistentVolumeClaim
@@ -4843,7 +5003,10 @@ paths:
group: ""
kind: PersistentVolumeClaim
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified PersistentVolumeClaim
operationId: patchNamespacedPersistentVolumeClaimStatus
@@ -4951,7 +5114,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified PersistentVolumeClaim
operationId: replaceNamespacedPersistentVolumeClaimStatus
@@ -5050,7 +5216,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/pods:
delete:
description: delete collection of Pod
@@ -5204,7 +5373,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Pod
operationId: listNamespacedPod
@@ -5335,7 +5507,12 @@ paths:
group: ""
kind: Pod
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Pod
operationId: createNamespacedPod
@@ -5440,7 +5617,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/pods/{name}:
delete:
description: delete a Pod
@@ -5544,7 +5724,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Pod
operationId: readNamespacedPod
@@ -5591,7 +5774,10 @@ paths:
group: ""
kind: Pod
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Pod
operationId: patchNamespacedPod
@@ -5699,7 +5885,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Pod
operationId: replaceNamespacedPod
@@ -5798,7 +5987,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/pods/{name}/attach:
get:
description: connect GET requests to attach of Pod
@@ -5864,7 +6056,8 @@ paths:
group: ""
kind: PodAttachOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to attach of Pod
operationId: connectPostNamespacedPodAttach
@@ -5929,7 +6122,8 @@ paths:
group: ""
kind: PodAttachOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/pods/{name}/binding:
post:
description: create binding of a Pod
@@ -6041,7 +6235,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers:
get:
description: read ephemeralcontainers of the specified Pod
@@ -6089,7 +6286,10 @@ paths:
group: ""
kind: Pod
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update ephemeralcontainers of the specified Pod
operationId: patchNamespacedPodEphemeralcontainers
@@ -6197,7 +6397,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace ephemeralcontainers of the specified Pod
operationId: replaceNamespacedPodEphemeralcontainers
@@ -6296,7 +6499,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/pods/{name}/eviction:
post:
description: create eviction of a Pod
@@ -6408,7 +6614,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/pods/{name}/exec:
get:
description: connect GET requests to exec of Pod
@@ -6477,7 +6686,8 @@ paths:
group: ""
kind: PodExecOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to exec of Pod
operationId: connectPostNamespacedPodExec
@@ -6545,7 +6755,8 @@ paths:
group: ""
kind: PodExecOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/pods/{name}/log:
get:
description: read log of the specified Pod
@@ -6654,7 +6865,11 @@ paths:
group: ""
kind: Pod
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
+ - text/plain
/api/v1/namespaces/{namespace}/pods/{name}/portforward:
get:
description: connect GET requests to portforward of Pod
@@ -6694,7 +6909,8 @@ paths:
group: ""
kind: PodPortForwardOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to portforward of Pod
operationId: connectPostNamespacedPodPortforward
@@ -6733,7 +6949,8 @@ paths:
group: ""
kind: PodPortForwardOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/pods/{name}/proxy:
delete:
description: connect DELETE requests to proxy of Pod
@@ -6774,7 +6991,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
get:
description: connect GET requests to proxy of Pod
operationId: connectGetNamespacedPodProxy
@@ -6814,7 +7032,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
head:
description: connect HEAD requests to proxy of Pod
operationId: connectHeadNamespacedPodProxy
@@ -6854,7 +7073,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
options:
description: connect OPTIONS requests to proxy of Pod
operationId: connectOptionsNamespacedPodProxy
@@ -6894,7 +7114,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
patch:
description: connect PATCH requests to proxy of Pod
operationId: connectPatchNamespacedPodProxy
@@ -6934,7 +7155,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to proxy of Pod
operationId: connectPostNamespacedPodProxy
@@ -6974,7 +7196,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
put:
description: connect PUT requests to proxy of Pod
operationId: connectPutNamespacedPodProxy
@@ -7014,7 +7237,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}:
delete:
description: connect DELETE requests to proxy of Pod
@@ -7061,7 +7285,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
get:
description: connect GET requests to proxy of Pod
operationId: connectGetNamespacedPodProxyWithPath
@@ -7107,7 +7332,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
head:
description: connect HEAD requests to proxy of Pod
operationId: connectHeadNamespacedPodProxyWithPath
@@ -7153,7 +7379,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
options:
description: connect OPTIONS requests to proxy of Pod
operationId: connectOptionsNamespacedPodProxyWithPath
@@ -7199,7 +7426,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
patch:
description: connect PATCH requests to proxy of Pod
operationId: connectPatchNamespacedPodProxyWithPath
@@ -7245,7 +7473,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to proxy of Pod
operationId: connectPostNamespacedPodProxyWithPath
@@ -7291,7 +7520,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
put:
description: connect PUT requests to proxy of Pod
operationId: connectPutNamespacedPodProxyWithPath
@@ -7337,7 +7567,8 @@ paths:
group: ""
kind: PodProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/pods/{name}/status:
get:
description: read status of the specified Pod
@@ -7385,7 +7616,10 @@ paths:
group: ""
kind: Pod
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Pod
operationId: patchNamespacedPodStatus
@@ -7493,7 +7727,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Pod
operationId: replaceNamespacedPodStatus
@@ -7592,7 +7829,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/podtemplates:
delete:
description: delete collection of PodTemplate
@@ -7746,7 +7986,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PodTemplate
operationId: listNamespacedPodTemplate
@@ -7877,7 +8120,12 @@ paths:
group: ""
kind: PodTemplate
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PodTemplate
operationId: createNamespacedPodTemplate
@@ -7982,7 +8230,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/podtemplates/{name}:
delete:
description: delete a PodTemplate
@@ -8086,7 +8337,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PodTemplate
operationId: readNamespacedPodTemplate
@@ -8133,7 +8387,10 @@ paths:
group: ""
kind: PodTemplate
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PodTemplate
operationId: patchNamespacedPodTemplate
@@ -8241,7 +8498,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PodTemplate
operationId: replaceNamespacedPodTemplate
@@ -8340,7 +8600,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/replicationcontrollers:
delete:
description: delete collection of ReplicationController
@@ -8494,7 +8757,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ReplicationController
operationId: listNamespacedReplicationController
@@ -8625,7 +8891,12 @@ paths:
group: ""
kind: ReplicationController
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ReplicationController
operationId: createNamespacedReplicationController
@@ -8730,7 +9001,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/replicationcontrollers/{name}:
delete:
description: delete a ReplicationController
@@ -8834,7 +9108,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ReplicationController
operationId: readNamespacedReplicationController
@@ -8881,7 +9158,10 @@ paths:
group: ""
kind: ReplicationController
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ReplicationController
operationId: patchNamespacedReplicationController
@@ -8989,7 +9269,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ReplicationController
operationId: replaceNamespacedReplicationController
@@ -9088,7 +9371,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale:
get:
description: read scale of the specified ReplicationController
@@ -9136,7 +9422,10 @@ paths:
group: autoscaling
kind: Scale
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update scale of the specified ReplicationController
operationId: patchNamespacedReplicationControllerScale
@@ -9244,7 +9533,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace scale of the specified ReplicationController
operationId: replaceNamespacedReplicationControllerScale
@@ -9343,7 +9635,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status:
get:
description: read status of the specified ReplicationController
@@ -9391,7 +9686,10 @@ paths:
group: ""
kind: ReplicationController
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ReplicationController
operationId: patchNamespacedReplicationControllerStatus
@@ -9499,7 +9797,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ReplicationController
operationId: replaceNamespacedReplicationControllerStatus
@@ -9598,7 +9899,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/resourcequotas:
delete:
description: delete collection of ResourceQuota
@@ -9752,7 +10056,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceQuota
operationId: listNamespacedResourceQuota
@@ -9883,7 +10190,12 @@ paths:
group: ""
kind: ResourceQuota
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ResourceQuota
operationId: createNamespacedResourceQuota
@@ -9988,7 +10300,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/resourcequotas/{name}:
delete:
description: delete a ResourceQuota
@@ -10092,7 +10407,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceQuota
operationId: readNamespacedResourceQuota
@@ -10139,7 +10457,10 @@ paths:
group: ""
kind: ResourceQuota
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceQuota
operationId: patchNamespacedResourceQuota
@@ -10247,7 +10568,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceQuota
operationId: replaceNamespacedResourceQuota
@@ -10346,7 +10670,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/resourcequotas/{name}/status:
get:
description: read status of the specified ResourceQuota
@@ -10394,7 +10721,10 @@ paths:
group: ""
kind: ResourceQuota
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ResourceQuota
operationId: patchNamespacedResourceQuotaStatus
@@ -10502,7 +10832,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ResourceQuota
operationId: replaceNamespacedResourceQuotaStatus
@@ -10601,7 +10934,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/secrets:
delete:
description: delete collection of Secret
@@ -10755,7 +11091,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Secret
operationId: listNamespacedSecret
@@ -10886,7 +11225,12 @@ paths:
group: ""
kind: Secret
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Secret
operationId: createNamespacedSecret
@@ -10991,7 +11335,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/secrets/{name}:
delete:
description: delete a Secret
@@ -11095,7 +11442,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Secret
operationId: readNamespacedSecret
@@ -11142,7 +11492,10 @@ paths:
group: ""
kind: Secret
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Secret
operationId: patchNamespacedSecret
@@ -11250,7 +11603,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Secret
operationId: replaceNamespacedSecret
@@ -11349,7 +11705,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/serviceaccounts:
delete:
description: delete collection of ServiceAccount
@@ -11503,7 +11862,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ServiceAccount
operationId: listNamespacedServiceAccount
@@ -11634,7 +11996,12 @@ paths:
group: ""
kind: ServiceAccount
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ServiceAccount
operationId: createNamespacedServiceAccount
@@ -11739,7 +12106,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/serviceaccounts/{name}:
delete:
description: delete a ServiceAccount
@@ -11843,7 +12213,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ServiceAccount
operationId: readNamespacedServiceAccount
@@ -11890,7 +12263,10 @@ paths:
group: ""
kind: ServiceAccount
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ServiceAccount
operationId: patchNamespacedServiceAccount
@@ -11998,7 +12374,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ServiceAccount
operationId: replaceNamespacedServiceAccount
@@ -12097,7 +12476,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token:
post:
description: create token of a ServiceAccount
@@ -12209,7 +12591,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/services:
delete:
description: delete collection of Service
@@ -12363,7 +12748,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Service
operationId: listNamespacedService
@@ -12494,7 +12882,12 @@ paths:
group: ""
kind: Service
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Service
operationId: createNamespacedService
@@ -12599,7 +12992,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/services/{name}:
delete:
description: delete a Service
@@ -12703,7 +13099,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Service
operationId: readNamespacedService
@@ -12750,7 +13149,10 @@ paths:
group: ""
kind: Service
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Service
operationId: patchNamespacedService
@@ -12858,7 +13260,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Service
operationId: replaceNamespacedService
@@ -12957,7 +13362,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{namespace}/services/{name}/proxy:
delete:
description: connect DELETE requests to proxy of Service
@@ -13000,7 +13408,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
get:
description: connect GET requests to proxy of Service
operationId: connectGetNamespacedServiceProxy
@@ -13042,7 +13451,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
head:
description: connect HEAD requests to proxy of Service
operationId: connectHeadNamespacedServiceProxy
@@ -13084,7 +13494,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
options:
description: connect OPTIONS requests to proxy of Service
operationId: connectOptionsNamespacedServiceProxy
@@ -13126,7 +13537,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
patch:
description: connect PATCH requests to proxy of Service
operationId: connectPatchNamespacedServiceProxy
@@ -13168,7 +13580,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to proxy of Service
operationId: connectPostNamespacedServiceProxy
@@ -13210,7 +13623,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
put:
description: connect PUT requests to proxy of Service
operationId: connectPutNamespacedServiceProxy
@@ -13252,7 +13666,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}:
delete:
description: connect DELETE requests to proxy of Service
@@ -13301,7 +13716,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
get:
description: connect GET requests to proxy of Service
operationId: connectGetNamespacedServiceProxyWithPath
@@ -13349,7 +13765,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
head:
description: connect HEAD requests to proxy of Service
operationId: connectHeadNamespacedServiceProxyWithPath
@@ -13397,7 +13814,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
options:
description: connect OPTIONS requests to proxy of Service
operationId: connectOptionsNamespacedServiceProxyWithPath
@@ -13445,7 +13863,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
patch:
description: connect PATCH requests to proxy of Service
operationId: connectPatchNamespacedServiceProxyWithPath
@@ -13493,7 +13912,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to proxy of Service
operationId: connectPostNamespacedServiceProxyWithPath
@@ -13541,7 +13961,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
put:
description: connect PUT requests to proxy of Service
operationId: connectPutNamespacedServiceProxyWithPath
@@ -13589,7 +14010,8 @@ paths:
group: ""
kind: ServiceProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/namespaces/{namespace}/services/{name}/status:
get:
description: read status of the specified Service
@@ -13637,7 +14059,10 @@ paths:
group: ""
kind: Service
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Service
operationId: patchNamespacedServiceStatus
@@ -13745,7 +14170,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Service
operationId: replaceNamespacedServiceStatus
@@ -13844,7 +14272,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{name}:
delete:
description: delete a Namespace
@@ -13942,7 +14373,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Namespace
operationId: readNamespace
@@ -13983,7 +14417,10 @@ paths:
group: ""
kind: Namespace
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Namespace
operationId: patchNamespace
@@ -14085,7 +14522,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Namespace
operationId: replaceNamespace
@@ -14178,7 +14618,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{name}/finalize:
put:
description: replace finalize of the specified Namespace
@@ -14272,7 +14715,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/namespaces/{name}/status:
get:
description: read status of the specified Namespace
@@ -14314,7 +14760,10 @@ paths:
group: ""
kind: Namespace
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Namespace
operationId: patchNamespaceStatus
@@ -14416,7 +14865,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Namespace
operationId: replaceNamespaceStatus
@@ -14509,7 +14961,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/nodes:
delete:
description: delete collection of Node
@@ -14657,7 +15112,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Node
operationId: listNode
@@ -14782,7 +15240,12 @@ paths:
group: ""
kind: Node
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Node
operationId: createNode
@@ -14881,7 +15344,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/nodes/{name}:
delete:
description: delete a Node
@@ -14979,7 +15445,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Node
operationId: readNode
@@ -15020,7 +15489,10 @@ paths:
group: ""
kind: Node
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Node
operationId: patchNode
@@ -15122,7 +15594,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Node
operationId: replaceNode
@@ -15215,7 +15690,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/nodes/{name}/proxy:
delete:
description: connect DELETE requests to proxy of Node
@@ -15250,7 +15728,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
get:
description: connect GET requests to proxy of Node
operationId: connectGetNodeProxy
@@ -15284,7 +15763,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
head:
description: connect HEAD requests to proxy of Node
operationId: connectHeadNodeProxy
@@ -15318,7 +15798,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
options:
description: connect OPTIONS requests to proxy of Node
operationId: connectOptionsNodeProxy
@@ -15352,7 +15833,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
patch:
description: connect PATCH requests to proxy of Node
operationId: connectPatchNodeProxy
@@ -15386,7 +15868,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to proxy of Node
operationId: connectPostNodeProxy
@@ -15420,7 +15903,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
put:
description: connect PUT requests to proxy of Node
operationId: connectPutNodeProxy
@@ -15454,7 +15938,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/nodes/{name}/proxy/{path}:
delete:
description: connect DELETE requests to proxy of Node
@@ -15495,7 +15980,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
get:
description: connect GET requests to proxy of Node
operationId: connectGetNodeProxyWithPath
@@ -15535,7 +16021,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
head:
description: connect HEAD requests to proxy of Node
operationId: connectHeadNodeProxyWithPath
@@ -15575,7 +16062,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
options:
description: connect OPTIONS requests to proxy of Node
operationId: connectOptionsNodeProxyWithPath
@@ -15615,7 +16103,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
patch:
description: connect PATCH requests to proxy of Node
operationId: connectPatchNodeProxyWithPath
@@ -15655,7 +16144,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
post:
description: connect POST requests to proxy of Node
operationId: connectPostNodeProxyWithPath
@@ -15695,7 +16185,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
put:
description: connect PUT requests to proxy of Node
operationId: connectPutNodeProxyWithPath
@@ -15735,7 +16226,8 @@ paths:
group: ""
kind: NodeProxyOptions
version: v1
- x-accepts: '*/*'
+ x-accepts:
+ - '*/*'
/api/v1/nodes/{name}/status:
get:
description: read status of the specified Node
@@ -15777,7 +16269,10 @@ paths:
group: ""
kind: Node
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Node
operationId: patchNodeStatus
@@ -15879,7 +16374,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Node
operationId: replaceNodeStatus
@@ -15972,7 +16470,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/persistentvolumeclaims:
get:
description: list or watch objects of kind PersistentVolumeClaim
@@ -16098,7 +16599,12 @@ paths:
group: ""
kind: PersistentVolumeClaim
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/persistentvolumes:
delete:
description: delete collection of PersistentVolume
@@ -16246,7 +16752,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PersistentVolume
operationId: listPersistentVolume
@@ -16371,7 +16880,12 @@ paths:
group: ""
kind: PersistentVolume
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PersistentVolume
operationId: createPersistentVolume
@@ -16470,7 +16984,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/persistentvolumes/{name}:
delete:
description: delete a PersistentVolume
@@ -16568,7 +17085,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PersistentVolume
operationId: readPersistentVolume
@@ -16609,7 +17129,10 @@ paths:
group: ""
kind: PersistentVolume
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PersistentVolume
operationId: patchPersistentVolume
@@ -16711,7 +17234,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PersistentVolume
operationId: replacePersistentVolume
@@ -16804,7 +17330,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/persistentvolumes/{name}/status:
get:
description: read status of the specified PersistentVolume
@@ -16846,7 +17375,10 @@ paths:
group: ""
kind: PersistentVolume
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified PersistentVolume
operationId: patchPersistentVolumeStatus
@@ -16948,7 +17480,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified PersistentVolume
operationId: replacePersistentVolumeStatus
@@ -17041,7 +17576,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/api/v1/pods:
get:
description: list or watch objects of kind Pod
@@ -17167,7 +17705,12 @@ paths:
group: ""
kind: Pod
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/podtemplates:
get:
description: list or watch objects of kind PodTemplate
@@ -17293,7 +17836,12 @@ paths:
group: ""
kind: PodTemplate
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/replicationcontrollers:
get:
description: list or watch objects of kind ReplicationController
@@ -17419,7 +17967,12 @@ paths:
group: ""
kind: ReplicationController
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/resourcequotas:
get:
description: list or watch objects of kind ResourceQuota
@@ -17545,7 +18098,12 @@ paths:
group: ""
kind: ResourceQuota
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/secrets:
get:
description: list or watch objects of kind Secret
@@ -17671,7 +18229,12 @@ paths:
group: ""
kind: Secret
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/serviceaccounts:
get:
description: list or watch objects of kind ServiceAccount
@@ -17797,7 +18360,12 @@ paths:
group: ""
kind: ServiceAccount
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/services:
get:
description: list or watch objects of kind Service
@@ -17923,7 +18491,12 @@ paths:
group: ""
kind: Service
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/api/v1/watch/configmaps: {}
/api/v1/watch/endpoints: {}
/api/v1/watch/events: {}
@@ -17988,7 +18561,10 @@ paths:
description: Unauthorized
tags:
- apis
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/:
get:
description: get information of a group
@@ -18011,7 +18587,10 @@ paths:
description: Unauthorized
tags:
- admissionregistration
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/:
get:
description: get available resources
@@ -18034,7 +18613,10 @@ paths:
description: Unauthorized
tags:
- admissionregistration_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations:
delete:
description: delete collection of MutatingWebhookConfiguration
@@ -18182,7 +18764,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind MutatingWebhookConfiguration
operationId: listMutatingWebhookConfiguration
@@ -18307,7 +18892,12 @@ paths:
group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a MutatingWebhookConfiguration
operationId: createMutatingWebhookConfiguration
@@ -18406,7 +18996,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}:
delete:
description: delete a MutatingWebhookConfiguration
@@ -18504,7 +19097,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified MutatingWebhookConfiguration
operationId: readMutatingWebhookConfiguration
@@ -18545,7 +19141,10 @@ paths:
group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified MutatingWebhookConfiguration
operationId: patchMutatingWebhookConfiguration
@@ -18647,7 +19246,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified MutatingWebhookConfiguration
operationId: replaceMutatingWebhookConfiguration
@@ -18740,7 +19342,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies:
delete:
description: delete collection of ValidatingAdmissionPolicy
@@ -18888,7 +19493,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingAdmissionPolicy
operationId: listValidatingAdmissionPolicy
@@ -19013,7 +19621,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingAdmissionPolicy
operationId: createValidatingAdmissionPolicy
@@ -19112,7 +19725,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}:
delete:
description: delete a ValidatingAdmissionPolicy
@@ -19210,7 +19826,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingAdmissionPolicy
operationId: readValidatingAdmissionPolicy
@@ -19251,7 +19870,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingAdmissionPolicy
operationId: patchValidatingAdmissionPolicy
@@ -19353,7 +19975,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingAdmissionPolicy
operationId: replaceValidatingAdmissionPolicy
@@ -19446,7 +20071,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}/status:
get:
description: read status of the specified ValidatingAdmissionPolicy
@@ -19488,7 +20116,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ValidatingAdmissionPolicy
operationId: patchValidatingAdmissionPolicyStatus
@@ -19590,7 +20221,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ValidatingAdmissionPolicy
operationId: replaceValidatingAdmissionPolicyStatus
@@ -19683,7 +20317,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings:
delete:
description: delete collection of ValidatingAdmissionPolicyBinding
@@ -19831,7 +20468,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingAdmissionPolicyBinding
operationId: listValidatingAdmissionPolicyBinding
@@ -19956,7 +20596,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicyBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingAdmissionPolicyBinding
operationId: createValidatingAdmissionPolicyBinding
@@ -20055,7 +20700,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/{name}:
delete:
description: delete a ValidatingAdmissionPolicyBinding
@@ -20153,7 +20801,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingAdmissionPolicyBinding
operationId: readValidatingAdmissionPolicyBinding
@@ -20194,7 +20845,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicyBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingAdmissionPolicyBinding
operationId: patchValidatingAdmissionPolicyBinding
@@ -20296,7 +20950,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingAdmissionPolicyBinding
operationId: replaceValidatingAdmissionPolicyBinding
@@ -20389,7 +21046,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations:
delete:
description: delete collection of ValidatingWebhookConfiguration
@@ -20537,7 +21197,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingWebhookConfiguration
operationId: listValidatingWebhookConfiguration
@@ -20662,7 +21325,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingWebhookConfiguration
operationId: createValidatingWebhookConfiguration
@@ -20761,7 +21429,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}:
delete:
description: delete a ValidatingWebhookConfiguration
@@ -20859,7 +21530,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingWebhookConfiguration
operationId: readValidatingWebhookConfiguration
@@ -20900,7 +21574,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingWebhookConfiguration
operationId: patchValidatingWebhookConfiguration
@@ -21002,7 +21679,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingWebhookConfiguration
operationId: replaceValidatingWebhookConfiguration
@@ -21095,7 +21775,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations: {}
/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}: {}
/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies: {}
@@ -21126,7 +21809,10 @@ paths:
description: Unauthorized
tags:
- admissionregistration_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies:
delete:
description: delete collection of ValidatingAdmissionPolicy
@@ -21274,7 +21960,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingAdmissionPolicy
operationId: listValidatingAdmissionPolicy
@@ -21399,7 +22088,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingAdmissionPolicy
operationId: createValidatingAdmissionPolicy
@@ -21498,7 +22192,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}:
delete:
description: delete a ValidatingAdmissionPolicy
@@ -21596,7 +22293,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingAdmissionPolicy
operationId: readValidatingAdmissionPolicy
@@ -21637,7 +22337,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingAdmissionPolicy
operationId: patchValidatingAdmissionPolicy
@@ -21739,7 +22442,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingAdmissionPolicy
operationId: replaceValidatingAdmissionPolicy
@@ -21832,7 +22538,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status:
get:
description: read status of the specified ValidatingAdmissionPolicy
@@ -21874,7 +22583,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ValidatingAdmissionPolicy
operationId: patchValidatingAdmissionPolicyStatus
@@ -21976,7 +22688,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ValidatingAdmissionPolicy
operationId: replaceValidatingAdmissionPolicyStatus
@@ -22069,7 +22784,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings:
delete:
description: delete collection of ValidatingAdmissionPolicyBinding
@@ -22217,7 +22935,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingAdmissionPolicyBinding
operationId: listValidatingAdmissionPolicyBinding
@@ -22342,7 +23063,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicyBinding
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingAdmissionPolicyBinding
operationId: createValidatingAdmissionPolicyBinding
@@ -22441,7 +23167,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}:
delete:
description: delete a ValidatingAdmissionPolicyBinding
@@ -22539,7 +23268,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingAdmissionPolicyBinding
operationId: readValidatingAdmissionPolicyBinding
@@ -22580,7 +23312,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicyBinding
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingAdmissionPolicyBinding
operationId: patchValidatingAdmissionPolicyBinding
@@ -22682,7 +23417,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingAdmissionPolicyBinding
operationId: replaceValidatingAdmissionPolicyBinding
@@ -22775,7 +23513,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies: {}
/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies/{name}: {}
/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings: {}
@@ -22802,7 +23543,10 @@ paths:
description: Unauthorized
tags:
- admissionregistration_v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies:
delete:
description: delete collection of ValidatingAdmissionPolicy
@@ -22950,7 +23694,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingAdmissionPolicy
operationId: listValidatingAdmissionPolicy
@@ -23075,7 +23822,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingAdmissionPolicy
operationId: createValidatingAdmissionPolicy
@@ -23174,7 +23926,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}:
delete:
description: delete a ValidatingAdmissionPolicy
@@ -23272,7 +24027,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingAdmissionPolicy
operationId: readValidatingAdmissionPolicy
@@ -23313,7 +24071,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingAdmissionPolicy
operationId: patchValidatingAdmissionPolicy
@@ -23415,7 +24176,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingAdmissionPolicy
operationId: replaceValidatingAdmissionPolicy
@@ -23508,7 +24272,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status:
get:
description: read status of the specified ValidatingAdmissionPolicy
@@ -23550,7 +24317,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicy
version: v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ValidatingAdmissionPolicy
operationId: patchValidatingAdmissionPolicyStatus
@@ -23652,7 +24422,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ValidatingAdmissionPolicy
operationId: replaceValidatingAdmissionPolicyStatus
@@ -23745,7 +24518,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings:
delete:
description: delete collection of ValidatingAdmissionPolicyBinding
@@ -23893,7 +24669,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ValidatingAdmissionPolicyBinding
operationId: listValidatingAdmissionPolicyBinding
@@ -24018,7 +24797,12 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicyBinding
version: v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ValidatingAdmissionPolicyBinding
operationId: createValidatingAdmissionPolicyBinding
@@ -24117,7 +24901,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}:
delete:
description: delete a ValidatingAdmissionPolicyBinding
@@ -24215,7 +25002,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ValidatingAdmissionPolicyBinding
operationId: readValidatingAdmissionPolicyBinding
@@ -24256,7 +25046,10 @@ paths:
group: admissionregistration.k8s.io
kind: ValidatingAdmissionPolicyBinding
version: v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ValidatingAdmissionPolicyBinding
operationId: patchValidatingAdmissionPolicyBinding
@@ -24358,7 +25151,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ValidatingAdmissionPolicyBinding
operationId: replaceValidatingAdmissionPolicyBinding
@@ -24451,7 +25247,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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: {}
@@ -24478,7 +25277,10 @@ paths:
description: Unauthorized
tags:
- apiextensions
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiextensions.k8s.io/v1/:
get:
description: get available resources
@@ -24501,7 +25303,10 @@ paths:
description: Unauthorized
tags:
- apiextensions_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiextensions.k8s.io/v1/customresourcedefinitions:
delete:
description: delete collection of CustomResourceDefinition
@@ -24649,7 +25454,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind CustomResourceDefinition
operationId: listCustomResourceDefinition
@@ -24774,7 +25582,12 @@ paths:
group: apiextensions.k8s.io
kind: CustomResourceDefinition
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a CustomResourceDefinition
operationId: createCustomResourceDefinition
@@ -24873,7 +25686,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}:
delete:
description: delete a CustomResourceDefinition
@@ -24971,7 +25787,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified CustomResourceDefinition
operationId: readCustomResourceDefinition
@@ -25012,7 +25831,10 @@ paths:
group: apiextensions.k8s.io
kind: CustomResourceDefinition
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified CustomResourceDefinition
operationId: patchCustomResourceDefinition
@@ -25114,7 +25936,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified CustomResourceDefinition
operationId: replaceCustomResourceDefinition
@@ -25207,7 +26032,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status:
get:
description: read status of the specified CustomResourceDefinition
@@ -25249,7 +26077,10 @@ paths:
group: apiextensions.k8s.io
kind: CustomResourceDefinition
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified CustomResourceDefinition
operationId: patchCustomResourceDefinitionStatus
@@ -25351,7 +26182,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified CustomResourceDefinition
operationId: replaceCustomResourceDefinitionStatus
@@ -25444,7 +26278,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions: {}
/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}: {}
/apis/apiregistration.k8s.io/:
@@ -25469,7 +26306,10 @@ paths:
description: Unauthorized
tags:
- apiregistration
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiregistration.k8s.io/v1/:
get:
description: get available resources
@@ -25492,7 +26332,10 @@ paths:
description: Unauthorized
tags:
- apiregistration_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiregistration.k8s.io/v1/apiservices:
delete:
description: delete collection of APIService
@@ -25640,7 +26483,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind APIService
operationId: listAPIService
@@ -25765,7 +26611,12 @@ paths:
group: apiregistration.k8s.io
kind: APIService
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an APIService
operationId: createAPIService
@@ -25864,7 +26715,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiregistration.k8s.io/v1/apiservices/{name}:
delete:
description: delete an APIService
@@ -25962,7 +26816,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified APIService
operationId: readAPIService
@@ -26003,7 +26860,10 @@ paths:
group: apiregistration.k8s.io
kind: APIService
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified APIService
operationId: patchAPIService
@@ -26105,7 +26965,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified APIService
operationId: replaceAPIService
@@ -26198,7 +27061,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiregistration.k8s.io/v1/apiservices/{name}/status:
get:
description: read status of the specified APIService
@@ -26240,7 +27106,10 @@ paths:
group: apiregistration.k8s.io
kind: APIService
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified APIService
operationId: patchAPIServiceStatus
@@ -26342,7 +27211,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified APIService
operationId: replaceAPIServiceStatus
@@ -26435,7 +27307,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apiregistration.k8s.io/v1/watch/apiservices: {}
/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}: {}
/apis/apps/:
@@ -26460,7 +27335,10 @@ paths:
description: Unauthorized
tags:
- apps
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/:
get:
description: get available resources
@@ -26483,7 +27361,10 @@ paths:
description: Unauthorized
tags:
- apps_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/controllerrevisions:
get:
description: list or watch objects of kind ControllerRevision
@@ -26609,7 +27490,12 @@ paths:
group: apps
kind: ControllerRevision
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/apps/v1/daemonsets:
get:
description: list or watch objects of kind DaemonSet
@@ -26735,7 +27621,12 @@ paths:
group: apps
kind: DaemonSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/apps/v1/deployments:
get:
description: list or watch objects of kind Deployment
@@ -26861,7 +27752,12 @@ paths:
group: apps
kind: Deployment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/controllerrevisions:
delete:
description: delete collection of ControllerRevision
@@ -27015,7 +27911,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ControllerRevision
operationId: listNamespacedControllerRevision
@@ -27146,7 +28045,12 @@ paths:
group: apps
kind: ControllerRevision
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ControllerRevision
operationId: createNamespacedControllerRevision
@@ -27251,7 +28155,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}:
delete:
description: delete a ControllerRevision
@@ -27355,7 +28262,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ControllerRevision
operationId: readNamespacedControllerRevision
@@ -27402,7 +28312,10 @@ paths:
group: apps
kind: ControllerRevision
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ControllerRevision
operationId: patchNamespacedControllerRevision
@@ -27510,7 +28423,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ControllerRevision
operationId: replaceNamespacedControllerRevision
@@ -27609,7 +28525,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/daemonsets:
delete:
description: delete collection of DaemonSet
@@ -27763,7 +28682,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind DaemonSet
operationId: listNamespacedDaemonSet
@@ -27894,7 +28816,12 @@ paths:
group: apps
kind: DaemonSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a DaemonSet
operationId: createNamespacedDaemonSet
@@ -27999,7 +28926,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}:
delete:
description: delete a DaemonSet
@@ -28103,7 +29033,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified DaemonSet
operationId: readNamespacedDaemonSet
@@ -28150,7 +29083,10 @@ paths:
group: apps
kind: DaemonSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified DaemonSet
operationId: patchNamespacedDaemonSet
@@ -28258,7 +29194,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified DaemonSet
operationId: replaceNamespacedDaemonSet
@@ -28357,7 +29296,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status:
get:
description: read status of the specified DaemonSet
@@ -28405,7 +29347,10 @@ paths:
group: apps
kind: DaemonSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified DaemonSet
operationId: patchNamespacedDaemonSetStatus
@@ -28513,7 +29458,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified DaemonSet
operationId: replaceNamespacedDaemonSetStatus
@@ -28612,7 +29560,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/deployments:
delete:
description: delete collection of Deployment
@@ -28766,7 +29717,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Deployment
operationId: listNamespacedDeployment
@@ -28897,7 +29851,12 @@ paths:
group: apps
kind: Deployment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Deployment
operationId: createNamespacedDeployment
@@ -29002,7 +29961,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/deployments/{name}:
delete:
description: delete a Deployment
@@ -29106,7 +30068,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Deployment
operationId: readNamespacedDeployment
@@ -29153,7 +30118,10 @@ paths:
group: apps
kind: Deployment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Deployment
operationId: patchNamespacedDeployment
@@ -29261,7 +30229,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Deployment
operationId: replaceNamespacedDeployment
@@ -29360,7 +30331,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale:
get:
description: read scale of the specified Deployment
@@ -29408,7 +30382,10 @@ paths:
group: autoscaling
kind: Scale
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update scale of the specified Deployment
operationId: patchNamespacedDeploymentScale
@@ -29516,7 +30493,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace scale of the specified Deployment
operationId: replaceNamespacedDeploymentScale
@@ -29615,7 +30595,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status:
get:
description: read status of the specified Deployment
@@ -29663,7 +30646,10 @@ paths:
group: apps
kind: Deployment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Deployment
operationId: patchNamespacedDeploymentStatus
@@ -29771,7 +30757,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Deployment
operationId: replaceNamespacedDeploymentStatus
@@ -29870,7 +30859,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/replicasets:
delete:
description: delete collection of ReplicaSet
@@ -30024,7 +31016,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ReplicaSet
operationId: listNamespacedReplicaSet
@@ -30155,7 +31150,12 @@ paths:
group: apps
kind: ReplicaSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ReplicaSet
operationId: createNamespacedReplicaSet
@@ -30260,7 +31260,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/replicasets/{name}:
delete:
description: delete a ReplicaSet
@@ -30364,7 +31367,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ReplicaSet
operationId: readNamespacedReplicaSet
@@ -30411,7 +31417,10 @@ paths:
group: apps
kind: ReplicaSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ReplicaSet
operationId: patchNamespacedReplicaSet
@@ -30519,7 +31528,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ReplicaSet
operationId: replaceNamespacedReplicaSet
@@ -30618,7 +31630,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale:
get:
description: read scale of the specified ReplicaSet
@@ -30666,7 +31681,10 @@ paths:
group: autoscaling
kind: Scale
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update scale of the specified ReplicaSet
operationId: patchNamespacedReplicaSetScale
@@ -30774,7 +31792,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace scale of the specified ReplicaSet
operationId: replaceNamespacedReplicaSetScale
@@ -30873,7 +31894,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status:
get:
description: read status of the specified ReplicaSet
@@ -30921,7 +31945,10 @@ paths:
group: apps
kind: ReplicaSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ReplicaSet
operationId: patchNamespacedReplicaSetStatus
@@ -31029,7 +32056,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ReplicaSet
operationId: replaceNamespacedReplicaSetStatus
@@ -31128,7 +32158,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/statefulsets:
delete:
description: delete collection of StatefulSet
@@ -31282,7 +32315,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind StatefulSet
operationId: listNamespacedStatefulSet
@@ -31413,7 +32449,12 @@ paths:
group: apps
kind: StatefulSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a StatefulSet
operationId: createNamespacedStatefulSet
@@ -31518,7 +32559,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}:
delete:
description: delete a StatefulSet
@@ -31622,7 +32666,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified StatefulSet
operationId: readNamespacedStatefulSet
@@ -31669,7 +32716,10 @@ paths:
group: apps
kind: StatefulSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified StatefulSet
operationId: patchNamespacedStatefulSet
@@ -31777,7 +32827,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified StatefulSet
operationId: replaceNamespacedStatefulSet
@@ -31876,7 +32929,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale:
get:
description: read scale of the specified StatefulSet
@@ -31924,7 +32980,10 @@ paths:
group: autoscaling
kind: Scale
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update scale of the specified StatefulSet
operationId: patchNamespacedStatefulSetScale
@@ -32032,7 +33091,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace scale of the specified StatefulSet
operationId: replaceNamespacedStatefulSetScale
@@ -32131,7 +33193,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status:
get:
description: read status of the specified StatefulSet
@@ -32179,7 +33244,10 @@ paths:
group: apps
kind: StatefulSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified StatefulSet
operationId: patchNamespacedStatefulSetStatus
@@ -32287,7 +33355,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified StatefulSet
operationId: replaceNamespacedStatefulSetStatus
@@ -32386,7 +33457,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/apps/v1/replicasets:
get:
description: list or watch objects of kind ReplicaSet
@@ -32512,7 +33586,12 @@ paths:
group: apps
kind: ReplicaSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/apps/v1/statefulsets:
get:
description: list or watch objects of kind StatefulSet
@@ -32638,7 +33717,12 @@ paths:
group: apps
kind: StatefulSet
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/apps/v1/watch/controllerrevisions: {}
/apis/apps/v1/watch/daemonsets: {}
/apis/apps/v1/watch/deployments: {}
@@ -32676,7 +33760,10 @@ paths:
description: Unauthorized
tags:
- authentication
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1/:
get:
description: get available resources
@@ -32699,7 +33786,10 @@ paths:
description: Unauthorized
tags:
- authentication_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1/selfsubjectreviews:
post:
description: create a SelfSubjectReview
@@ -32799,7 +33889,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1/tokenreviews:
post:
description: create a TokenReview
@@ -32899,7 +33992,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1alpha1/:
get:
description: get available resources
@@ -32922,7 +34018,10 @@ paths:
description: Unauthorized
tags:
- authentication_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1alpha1/selfsubjectreviews:
post:
description: create a SelfSubjectReview
@@ -33022,7 +34121,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1beta1/:
get:
description: get available resources
@@ -33045,7 +34147,10 @@ paths:
description: Unauthorized
tags:
- authentication_v1beta1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authentication.k8s.io/v1beta1/selfsubjectreviews:
post:
description: create a SelfSubjectReview
@@ -33145,7 +34250,10 @@ paths:
version: v1beta1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authorization.k8s.io/:
get:
description: get information of a group
@@ -33168,7 +34276,10 @@ paths:
description: Unauthorized
tags:
- authorization
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authorization.k8s.io/v1/:
get:
description: get available resources
@@ -33191,7 +34302,10 @@ paths:
description: Unauthorized
tags:
- authorization_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews:
post:
description: create a LocalSubjectAccessReview
@@ -33297,7 +34411,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authorization.k8s.io/v1/selfsubjectaccessreviews:
post:
description: create a SelfSubjectAccessReview
@@ -33397,7 +34514,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authorization.k8s.io/v1/selfsubjectrulesreviews:
post:
description: create a SelfSubjectRulesReview
@@ -33497,7 +34617,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/authorization.k8s.io/v1/subjectaccessreviews:
post:
description: create a SubjectAccessReview
@@ -33597,7 +34720,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/:
get:
description: get information of a group
@@ -33620,7 +34746,10 @@ paths:
description: Unauthorized
tags:
- autoscaling
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v1/:
get:
description: get available resources
@@ -33643,7 +34772,10 @@ paths:
description: Unauthorized
tags:
- autoscaling_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v1/horizontalpodautoscalers:
get:
description: list or watch objects of kind HorizontalPodAutoscaler
@@ -33769,7 +34901,12 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers:
delete:
description: delete collection of HorizontalPodAutoscaler
@@ -33923,7 +35060,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind HorizontalPodAutoscaler
operationId: listNamespacedHorizontalPodAutoscaler
@@ -34054,7 +35194,12 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a HorizontalPodAutoscaler
operationId: createNamespacedHorizontalPodAutoscaler
@@ -34159,7 +35304,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}:
delete:
description: delete a HorizontalPodAutoscaler
@@ -34263,7 +35411,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified HorizontalPodAutoscaler
operationId: readNamespacedHorizontalPodAutoscaler
@@ -34310,7 +35461,10 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified HorizontalPodAutoscaler
operationId: patchNamespacedHorizontalPodAutoscaler
@@ -34418,7 +35572,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified HorizontalPodAutoscaler
operationId: replaceNamespacedHorizontalPodAutoscaler
@@ -34517,7 +35674,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status:
get:
description: read status of the specified HorizontalPodAutoscaler
@@ -34565,7 +35725,10 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified HorizontalPodAutoscaler
operationId: patchNamespacedHorizontalPodAutoscalerStatus
@@ -34673,7 +35836,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified HorizontalPodAutoscaler
operationId: replaceNamespacedHorizontalPodAutoscalerStatus
@@ -34772,7 +35938,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v1/watch/horizontalpodautoscalers: {}
/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers: {}
/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}: {}
@@ -34798,7 +35967,10 @@ paths:
description: Unauthorized
tags:
- autoscaling_v2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v2/horizontalpodautoscalers:
get:
description: list or watch objects of kind HorizontalPodAutoscaler
@@ -34924,7 +36096,12 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers:
delete:
description: delete collection of HorizontalPodAutoscaler
@@ -35078,7 +36255,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind HorizontalPodAutoscaler
operationId: listNamespacedHorizontalPodAutoscaler
@@ -35209,7 +36389,12 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a HorizontalPodAutoscaler
operationId: createNamespacedHorizontalPodAutoscaler
@@ -35314,7 +36499,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}:
delete:
description: delete a HorizontalPodAutoscaler
@@ -35418,7 +36606,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified HorizontalPodAutoscaler
operationId: readNamespacedHorizontalPodAutoscaler
@@ -35465,7 +36656,10 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified HorizontalPodAutoscaler
operationId: patchNamespacedHorizontalPodAutoscaler
@@ -35573,7 +36767,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified HorizontalPodAutoscaler
operationId: replaceNamespacedHorizontalPodAutoscaler
@@ -35672,7 +36869,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status:
get:
description: read status of the specified HorizontalPodAutoscaler
@@ -35720,7 +36920,10 @@ paths:
group: autoscaling
kind: HorizontalPodAutoscaler
version: v2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified HorizontalPodAutoscaler
operationId: patchNamespacedHorizontalPodAutoscalerStatus
@@ -35828,7 +37031,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified HorizontalPodAutoscaler
operationId: replaceNamespacedHorizontalPodAutoscalerStatus
@@ -35927,7 +37133,10 @@ paths:
version: v2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/autoscaling/v2/watch/horizontalpodautoscalers: {}
/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers: {}
/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}: {}
@@ -35953,7 +37162,10 @@ paths:
description: Unauthorized
tags:
- batch
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/:
get:
description: get available resources
@@ -35976,7 +37188,10 @@ paths:
description: Unauthorized
tags:
- batch_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/cronjobs:
get:
description: list or watch objects of kind CronJob
@@ -36102,7 +37317,12 @@ paths:
group: batch
kind: CronJob
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/batch/v1/jobs:
get:
description: list or watch objects of kind Job
@@ -36228,7 +37448,12 @@ paths:
group: batch
kind: Job
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/batch/v1/namespaces/{namespace}/cronjobs:
delete:
description: delete collection of CronJob
@@ -36382,7 +37607,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind CronJob
operationId: listNamespacedCronJob
@@ -36513,7 +37741,12 @@ paths:
group: batch
kind: CronJob
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a CronJob
operationId: createNamespacedCronJob
@@ -36618,7 +37851,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}:
delete:
description: delete a CronJob
@@ -36722,7 +37958,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified CronJob
operationId: readNamespacedCronJob
@@ -36769,7 +38008,10 @@ paths:
group: batch
kind: CronJob
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified CronJob
operationId: patchNamespacedCronJob
@@ -36877,7 +38119,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified CronJob
operationId: replaceNamespacedCronJob
@@ -36976,7 +38221,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status:
get:
description: read status of the specified CronJob
@@ -37024,7 +38272,10 @@ paths:
group: batch
kind: CronJob
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified CronJob
operationId: patchNamespacedCronJobStatus
@@ -37132,7 +38383,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified CronJob
operationId: replaceNamespacedCronJobStatus
@@ -37231,7 +38485,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/namespaces/{namespace}/jobs:
delete:
description: delete collection of Job
@@ -37385,7 +38642,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Job
operationId: listNamespacedJob
@@ -37516,7 +38776,12 @@ paths:
group: batch
kind: Job
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Job
operationId: createNamespacedJob
@@ -37621,7 +38886,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/namespaces/{namespace}/jobs/{name}:
delete:
description: delete a Job
@@ -37725,7 +38993,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Job
operationId: readNamespacedJob
@@ -37772,7 +39043,10 @@ paths:
group: batch
kind: Job
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Job
operationId: patchNamespacedJob
@@ -37880,7 +39154,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Job
operationId: replaceNamespacedJob
@@ -37979,7 +39256,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status:
get:
description: read status of the specified Job
@@ -38027,7 +39307,10 @@ paths:
group: batch
kind: Job
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Job
operationId: patchNamespacedJobStatus
@@ -38135,7 +39418,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Job
operationId: replaceNamespacedJobStatus
@@ -38234,7 +39520,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/batch/v1/watch/cronjobs: {}
/apis/batch/v1/watch/jobs: {}
/apis/batch/v1/watch/namespaces/{namespace}/cronjobs: {}
@@ -38263,7 +39552,10 @@ paths:
description: Unauthorized
tags:
- certificates
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1/:
get:
description: get available resources
@@ -38286,7 +39578,10 @@ paths:
description: Unauthorized
tags:
- certificates_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1/certificatesigningrequests:
delete:
description: delete collection of CertificateSigningRequest
@@ -38434,7 +39729,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind CertificateSigningRequest
operationId: listCertificateSigningRequest
@@ -38559,7 +39857,12 @@ paths:
group: certificates.k8s.io
kind: CertificateSigningRequest
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a CertificateSigningRequest
operationId: createCertificateSigningRequest
@@ -38658,7 +39961,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}:
delete:
description: delete a CertificateSigningRequest
@@ -38756,7 +40062,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified CertificateSigningRequest
operationId: readCertificateSigningRequest
@@ -38797,7 +40106,10 @@ paths:
group: certificates.k8s.io
kind: CertificateSigningRequest
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified CertificateSigningRequest
operationId: patchCertificateSigningRequest
@@ -38899,7 +40211,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified CertificateSigningRequest
operationId: replaceCertificateSigningRequest
@@ -38992,7 +40307,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval:
get:
description: read approval of the specified CertificateSigningRequest
@@ -39034,7 +40352,10 @@ paths:
group: certificates.k8s.io
kind: CertificateSigningRequest
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update approval of the specified CertificateSigningRequest
operationId: patchCertificateSigningRequestApproval
@@ -39136,7 +40457,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace approval of the specified CertificateSigningRequest
operationId: replaceCertificateSigningRequestApproval
@@ -39229,7 +40553,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status:
get:
description: read status of the specified CertificateSigningRequest
@@ -39271,7 +40598,10 @@ paths:
group: certificates.k8s.io
kind: CertificateSigningRequest
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified CertificateSigningRequest
operationId: patchCertificateSigningRequestStatus
@@ -39373,7 +40703,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified CertificateSigningRequest
operationId: replaceCertificateSigningRequestStatus
@@ -39466,7 +40799,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1/watch/certificatesigningrequests: {}
/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/{name}: {}
/apis/certificates.k8s.io/v1alpha1/:
@@ -39491,7 +40827,10 @@ paths:
description: Unauthorized
tags:
- certificates_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1alpha1/clustertrustbundles:
delete:
description: delete collection of ClusterTrustBundle
@@ -39639,7 +40978,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ClusterTrustBundle
operationId: listClusterTrustBundle
@@ -39764,7 +41106,12 @@ paths:
group: certificates.k8s.io
kind: ClusterTrustBundle
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ClusterTrustBundle
operationId: createClusterTrustBundle
@@ -39863,7 +41210,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}:
delete:
description: delete a ClusterTrustBundle
@@ -39961,7 +41311,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ClusterTrustBundle
operationId: readClusterTrustBundle
@@ -40002,7 +41355,10 @@ paths:
group: certificates.k8s.io
kind: ClusterTrustBundle
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ClusterTrustBundle
operationId: patchClusterTrustBundle
@@ -40104,7 +41460,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ClusterTrustBundle
operationId: replaceClusterTrustBundle
@@ -40197,7 +41556,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles: {}
/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}: {}
/apis/coordination.k8s.io/:
@@ -40222,7 +41584,10 @@ paths:
description: Unauthorized
tags:
- coordination
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/coordination.k8s.io/v1/:
get:
description: get available resources
@@ -40245,7 +41610,10 @@ paths:
description: Unauthorized
tags:
- coordination_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/coordination.k8s.io/v1/leases:
get:
description: list or watch objects of kind Lease
@@ -40371,7 +41739,12 @@ paths:
group: coordination.k8s.io
kind: Lease
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases:
delete:
description: delete collection of Lease
@@ -40525,7 +41898,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Lease
operationId: listNamespacedLease
@@ -40656,7 +42032,12 @@ paths:
group: coordination.k8s.io
kind: Lease
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Lease
operationId: createNamespacedLease
@@ -40761,7 +42142,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}:
delete:
description: delete a Lease
@@ -40865,7 +42249,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Lease
operationId: readNamespacedLease
@@ -40912,7 +42299,10 @@ paths:
group: coordination.k8s.io
kind: Lease
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Lease
operationId: patchNamespacedLease
@@ -41020,7 +42410,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Lease
operationId: replaceNamespacedLease
@@ -41119,7 +42512,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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}: {}
@@ -41145,7 +42541,10 @@ paths:
description: Unauthorized
tags:
- discovery
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/discovery.k8s.io/v1/:
get:
description: get available resources
@@ -41168,7 +42567,10 @@ paths:
description: Unauthorized
tags:
- discovery_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/discovery.k8s.io/v1/endpointslices:
get:
description: list or watch objects of kind EndpointSlice
@@ -41294,7 +42696,12 @@ paths:
group: discovery.k8s.io
kind: EndpointSlice
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices:
delete:
description: delete collection of EndpointSlice
@@ -41448,7 +42855,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind EndpointSlice
operationId: listNamespacedEndpointSlice
@@ -41579,7 +42989,12 @@ paths:
group: discovery.k8s.io
kind: EndpointSlice
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an EndpointSlice
operationId: createNamespacedEndpointSlice
@@ -41684,7 +43099,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}:
delete:
description: delete an EndpointSlice
@@ -41788,7 +43206,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified EndpointSlice
operationId: readNamespacedEndpointSlice
@@ -41835,7 +43256,10 @@ paths:
group: discovery.k8s.io
kind: EndpointSlice
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified EndpointSlice
operationId: patchNamespacedEndpointSlice
@@ -41943,7 +43367,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified EndpointSlice
operationId: replaceNamespacedEndpointSlice
@@ -42042,7 +43469,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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}: {}
@@ -42068,7 +43498,10 @@ paths:
description: Unauthorized
tags:
- events
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/events.k8s.io/v1/:
get:
description: get available resources
@@ -42091,7 +43524,10 @@ paths:
description: Unauthorized
tags:
- events_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/events.k8s.io/v1/events:
get:
description: list or watch objects of kind Event
@@ -42217,7 +43653,12 @@ paths:
group: events.k8s.io
kind: Event
version: v1
- x-accepts: application/json
+ x-accepts:
+ - 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
@@ -42371,7 +43812,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Event
operationId: listNamespacedEvent
@@ -42502,7 +43946,12 @@ paths:
group: events.k8s.io
kind: Event
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an Event
operationId: createNamespacedEvent
@@ -42607,7 +44056,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}:
delete:
description: delete an Event
@@ -42711,7 +44163,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Event
operationId: readNamespacedEvent
@@ -42758,7 +44213,10 @@ paths:
group: events.k8s.io
kind: Event
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Event
operationId: patchNamespacedEvent
@@ -42866,7 +44324,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Event
operationId: replaceNamespacedEvent
@@ -42965,7 +44426,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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}: {}
@@ -42991,7 +44455,10 @@ paths:
description: Unauthorized
tags:
- flowcontrolApiserver
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/:
get:
description: get available resources
@@ -43014,7 +44481,10 @@ paths:
description: Unauthorized
tags:
- flowcontrolApiserver_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas:
delete:
description: delete collection of FlowSchema
@@ -43162,7 +44632,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind FlowSchema
operationId: listFlowSchema
@@ -43287,7 +44760,12 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: FlowSchema
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a FlowSchema
operationId: createFlowSchema
@@ -43386,7 +44864,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}:
delete:
description: delete a FlowSchema
@@ -43484,7 +44965,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified FlowSchema
operationId: readFlowSchema
@@ -43525,7 +45009,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: FlowSchema
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified FlowSchema
operationId: patchFlowSchema
@@ -43627,7 +45114,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified FlowSchema
operationId: replaceFlowSchema
@@ -43720,7 +45210,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status:
get:
description: read status of the specified FlowSchema
@@ -43762,7 +45255,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: FlowSchema
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified FlowSchema
operationId: patchFlowSchemaStatus
@@ -43864,7 +45360,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified FlowSchema
operationId: replaceFlowSchemaStatus
@@ -43957,7 +45456,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations:
delete:
description: delete collection of PriorityLevelConfiguration
@@ -44105,7 +45607,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PriorityLevelConfiguration
operationId: listPriorityLevelConfiguration
@@ -44230,7 +45735,12 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: PriorityLevelConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PriorityLevelConfiguration
operationId: createPriorityLevelConfiguration
@@ -44329,7 +45839,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}:
delete:
description: delete a PriorityLevelConfiguration
@@ -44427,7 +45940,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PriorityLevelConfiguration
operationId: readPriorityLevelConfiguration
@@ -44468,7 +45984,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: PriorityLevelConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PriorityLevelConfiguration
operationId: patchPriorityLevelConfiguration
@@ -44570,7 +46089,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PriorityLevelConfiguration
operationId: replacePriorityLevelConfiguration
@@ -44663,7 +46185,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status:
get:
description: read status of the specified PriorityLevelConfiguration
@@ -44705,7 +46230,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: PriorityLevelConfiguration
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified PriorityLevelConfiguration
operationId: patchPriorityLevelConfigurationStatus
@@ -44807,7 +46335,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified PriorityLevelConfiguration
operationId: replacePriorityLevelConfigurationStatus
@@ -44900,7 +46431,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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: {}
@@ -44927,7 +46461,10 @@ paths:
description: Unauthorized
tags:
- flowcontrolApiserver_v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas:
delete:
description: delete collection of FlowSchema
@@ -45075,7 +46612,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind FlowSchema
operationId: listFlowSchema
@@ -45200,7 +46740,12 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: FlowSchema
version: v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a FlowSchema
operationId: createFlowSchema
@@ -45299,7 +46844,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}:
delete:
description: delete a FlowSchema
@@ -45397,7 +46945,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified FlowSchema
operationId: readFlowSchema
@@ -45438,7 +46989,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: FlowSchema
version: v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified FlowSchema
operationId: patchFlowSchema
@@ -45540,7 +47094,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified FlowSchema
operationId: replaceFlowSchema
@@ -45633,7 +47190,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}/status:
get:
description: read status of the specified FlowSchema
@@ -45675,7 +47235,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: FlowSchema
version: v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified FlowSchema
operationId: patchFlowSchemaStatus
@@ -45777,7 +47340,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified FlowSchema
operationId: replaceFlowSchemaStatus
@@ -45870,7 +47436,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations:
delete:
description: delete collection of PriorityLevelConfiguration
@@ -46018,7 +47587,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PriorityLevelConfiguration
operationId: listPriorityLevelConfiguration
@@ -46143,7 +47715,12 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: PriorityLevelConfiguration
version: v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PriorityLevelConfiguration
operationId: createPriorityLevelConfiguration
@@ -46242,7 +47819,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}:
delete:
description: delete a PriorityLevelConfiguration
@@ -46340,7 +47920,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PriorityLevelConfiguration
operationId: readPriorityLevelConfiguration
@@ -46381,7 +47964,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: PriorityLevelConfiguration
version: v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PriorityLevelConfiguration
operationId: patchPriorityLevelConfiguration
@@ -46483,7 +48069,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PriorityLevelConfiguration
operationId: replacePriorityLevelConfiguration
@@ -46576,7 +48165,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}/status:
get:
description: read status of the specified PriorityLevelConfiguration
@@ -46618,7 +48210,10 @@ paths:
group: flowcontrol.apiserver.k8s.io
kind: PriorityLevelConfiguration
version: v1beta3
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified PriorityLevelConfiguration
operationId: patchPriorityLevelConfigurationStatus
@@ -46720,7 +48315,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified PriorityLevelConfiguration
operationId: replacePriorityLevelConfigurationStatus
@@ -46813,7 +48411,10 @@ paths:
version: v1beta3
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas: {}
/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas/{name}: {}
/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations: {}
@@ -46840,7 +48441,10 @@ paths:
description: Unauthorized
tags:
- internalApiserver
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/internal.apiserver.k8s.io/v1alpha1/:
get:
description: get available resources
@@ -46863,7 +48467,10 @@ paths:
description: Unauthorized
tags:
- internalApiserver_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/internal.apiserver.k8s.io/v1alpha1/storageversions:
delete:
description: delete collection of StorageVersion
@@ -47011,7 +48618,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind StorageVersion
operationId: listStorageVersion
@@ -47136,7 +48746,12 @@ paths:
group: internal.apiserver.k8s.io
kind: StorageVersion
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a StorageVersion
operationId: createStorageVersion
@@ -47235,7 +48850,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}:
delete:
description: delete a StorageVersion
@@ -47333,7 +48951,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified StorageVersion
operationId: readStorageVersion
@@ -47374,7 +48995,10 @@ paths:
group: internal.apiserver.k8s.io
kind: StorageVersion
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified StorageVersion
operationId: patchStorageVersion
@@ -47476,7 +49100,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified StorageVersion
operationId: replaceStorageVersion
@@ -47569,7 +49196,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status:
get:
description: read status of the specified StorageVersion
@@ -47611,7 +49241,10 @@ paths:
group: internal.apiserver.k8s.io
kind: StorageVersion
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified StorageVersion
operationId: patchStorageVersionStatus
@@ -47713,7 +49346,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified StorageVersion
operationId: replaceStorageVersionStatus
@@ -47806,7 +49442,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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/:
@@ -47831,7 +49470,10 @@ paths:
description: Unauthorized
tags:
- networking
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/:
get:
description: get available resources
@@ -47854,7 +49496,10 @@ paths:
description: Unauthorized
tags:
- networking_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/ingressclasses:
delete:
description: delete collection of IngressClass
@@ -48002,7 +49647,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind IngressClass
operationId: listIngressClass
@@ -48127,7 +49775,12 @@ paths:
group: networking.k8s.io
kind: IngressClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an IngressClass
operationId: createIngressClass
@@ -48226,7 +49879,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/ingressclasses/{name}:
delete:
description: delete an IngressClass
@@ -48324,7 +49980,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified IngressClass
operationId: readIngressClass
@@ -48365,7 +50024,10 @@ paths:
group: networking.k8s.io
kind: IngressClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified IngressClass
operationId: patchIngressClass
@@ -48467,7 +50129,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified IngressClass
operationId: replaceIngressClass
@@ -48560,7 +50225,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/ingresses:
get:
description: list or watch objects of kind Ingress
@@ -48686,7 +50354,12 @@ paths:
group: networking.k8s.io
kind: Ingress
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses:
delete:
description: delete collection of Ingress
@@ -48840,7 +50513,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Ingress
operationId: listNamespacedIngress
@@ -48971,7 +50647,12 @@ paths:
group: networking.k8s.io
kind: Ingress
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an Ingress
operationId: createNamespacedIngress
@@ -49076,7 +50757,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}:
delete:
description: delete an Ingress
@@ -49180,7 +50864,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Ingress
operationId: readNamespacedIngress
@@ -49227,7 +50914,10 @@ paths:
group: networking.k8s.io
kind: Ingress
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Ingress
operationId: patchNamespacedIngress
@@ -49335,7 +51025,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Ingress
operationId: replaceNamespacedIngress
@@ -49434,7 +51127,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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
@@ -49482,7 +51178,10 @@ paths:
group: networking.k8s.io
kind: Ingress
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified Ingress
operationId: patchNamespacedIngressStatus
@@ -49590,7 +51289,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified Ingress
operationId: replaceNamespacedIngressStatus
@@ -49689,7 +51391,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies:
delete:
description: delete collection of NetworkPolicy
@@ -49843,7 +51548,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind NetworkPolicy
operationId: listNamespacedNetworkPolicy
@@ -49974,7 +51682,12 @@ paths:
group: networking.k8s.io
kind: NetworkPolicy
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a NetworkPolicy
operationId: createNamespacedNetworkPolicy
@@ -50079,7 +51792,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}:
delete:
description: delete a NetworkPolicy
@@ -50183,7 +51899,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified NetworkPolicy
operationId: readNamespacedNetworkPolicy
@@ -50230,7 +51949,10 @@ paths:
group: networking.k8s.io
kind: NetworkPolicy
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified NetworkPolicy
operationId: patchNamespacedNetworkPolicy
@@ -50338,7 +52060,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified NetworkPolicy
operationId: replaceNamespacedNetworkPolicy
@@ -50437,7 +52162,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1/networkpolicies:
get:
description: list or watch objects of kind NetworkPolicy
@@ -50563,7 +52291,12 @@ paths:
group: networking.k8s.io
kind: NetworkPolicy
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/networking.k8s.io/v1/watch/ingressclasses: {}
/apis/networking.k8s.io/v1/watch/ingressclasses/{name}: {}
/apis/networking.k8s.io/v1/watch/ingresses: {}
@@ -50594,7 +52327,10 @@ paths:
description: Unauthorized
tags:
- networking_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1alpha1/ipaddresses:
delete:
description: delete collection of IPAddress
@@ -50742,7 +52478,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind IPAddress
operationId: listIPAddress
@@ -50867,7 +52606,12 @@ paths:
group: networking.k8s.io
kind: IPAddress
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create an IPAddress
operationId: createIPAddress
@@ -50966,7 +52710,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}:
delete:
description: delete an IPAddress
@@ -51064,7 +52811,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified IPAddress
operationId: readIPAddress
@@ -51105,7 +52855,10 @@ paths:
group: networking.k8s.io
kind: IPAddress
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified IPAddress
operationId: patchIPAddress
@@ -51207,7 +52960,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified IPAddress
operationId: replaceIPAddress
@@ -51300,7 +53056,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1alpha1/servicecidrs:
delete:
description: delete collection of ServiceCIDR
@@ -51448,7 +53207,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ServiceCIDR
operationId: listServiceCIDR
@@ -51573,7 +53335,12 @@ paths:
group: networking.k8s.io
kind: ServiceCIDR
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - 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
@@ -51672,7 +53439,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}:
delete:
description: delete a ServiceCIDR
@@ -51770,7 +53540,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ServiceCIDR
operationId: readServiceCIDR
@@ -51811,7 +53584,10 @@ paths:
group: networking.k8s.io
kind: ServiceCIDR
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ServiceCIDR
operationId: patchServiceCIDR
@@ -51913,7 +53689,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ServiceCIDR
operationId: replaceServiceCIDR
@@ -52006,7 +53785,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status:
get:
description: read status of the specified ServiceCIDR
@@ -52048,7 +53830,10 @@ paths:
group: networking.k8s.io
kind: ServiceCIDR
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ServiceCIDR
operationId: patchServiceCIDRStatus
@@ -52150,7 +53935,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ServiceCIDR
operationId: replaceServiceCIDRStatus
@@ -52243,7 +54031,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/networking.k8s.io/v1alpha1/watch/ipaddresses: {}
/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}: {}
/apis/networking.k8s.io/v1alpha1/watch/servicecidrs: {}
@@ -52270,7 +54061,10 @@ paths:
description: Unauthorized
tags:
- node
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/node.k8s.io/v1/:
get:
description: get available resources
@@ -52293,7 +54087,10 @@ paths:
description: Unauthorized
tags:
- node_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/node.k8s.io/v1/runtimeclasses:
delete:
description: delete collection of RuntimeClass
@@ -52441,7 +54238,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind RuntimeClass
operationId: listRuntimeClass
@@ -52566,7 +54366,12 @@ paths:
group: node.k8s.io
kind: RuntimeClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a RuntimeClass
operationId: createRuntimeClass
@@ -52665,7 +54470,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/node.k8s.io/v1/runtimeclasses/{name}:
delete:
description: delete a RuntimeClass
@@ -52763,7 +54571,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified RuntimeClass
operationId: readRuntimeClass
@@ -52804,7 +54615,10 @@ paths:
group: node.k8s.io
kind: RuntimeClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified RuntimeClass
operationId: patchRuntimeClass
@@ -52906,7 +54720,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified RuntimeClass
operationId: replaceRuntimeClass
@@ -52999,7 +54816,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/node.k8s.io/v1/watch/runtimeclasses: {}
/apis/node.k8s.io/v1/watch/runtimeclasses/{name}: {}
/apis/policy/:
@@ -53024,7 +54844,10 @@ paths:
description: Unauthorized
tags:
- policy
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/policy/v1/:
get:
description: get available resources
@@ -53047,7 +54870,10 @@ paths:
description: Unauthorized
tags:
- policy_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets:
delete:
description: delete collection of PodDisruptionBudget
@@ -53201,7 +55027,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PodDisruptionBudget
operationId: listNamespacedPodDisruptionBudget
@@ -53332,7 +55161,12 @@ paths:
group: policy
kind: PodDisruptionBudget
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PodDisruptionBudget
operationId: createNamespacedPodDisruptionBudget
@@ -53437,7 +55271,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}:
delete:
description: delete a PodDisruptionBudget
@@ -53541,7 +55378,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PodDisruptionBudget
operationId: readNamespacedPodDisruptionBudget
@@ -53588,7 +55428,10 @@ paths:
group: policy
kind: PodDisruptionBudget
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PodDisruptionBudget
operationId: patchNamespacedPodDisruptionBudget
@@ -53696,7 +55539,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PodDisruptionBudget
operationId: replaceNamespacedPodDisruptionBudget
@@ -53795,7 +55641,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status:
get:
description: read status of the specified PodDisruptionBudget
@@ -53843,7 +55692,10 @@ paths:
group: policy
kind: PodDisruptionBudget
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified PodDisruptionBudget
operationId: patchNamespacedPodDisruptionBudgetStatus
@@ -53951,7 +55803,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified PodDisruptionBudget
operationId: replaceNamespacedPodDisruptionBudgetStatus
@@ -54050,7 +55905,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/policy/v1/poddisruptionbudgets:
get:
description: list or watch objects of kind PodDisruptionBudget
@@ -54176,7 +56034,12 @@ paths:
group: policy
kind: PodDisruptionBudget
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets: {}
/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}: {}
/apis/policy/v1/watch/poddisruptionbudgets: {}
@@ -54202,7 +56065,10 @@ paths:
description: Unauthorized
tags:
- rbacAuthorization
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/:
get:
description: get available resources
@@ -54225,7 +56091,10 @@ paths:
description: Unauthorized
tags:
- rbacAuthorization_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/clusterrolebindings:
delete:
description: delete collection of ClusterRoleBinding
@@ -54373,7 +56242,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ClusterRoleBinding
operationId: listClusterRoleBinding
@@ -54498,7 +56370,12 @@ paths:
group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ClusterRoleBinding
operationId: createClusterRoleBinding
@@ -54597,7 +56474,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}:
delete:
description: delete a ClusterRoleBinding
@@ -54695,7 +56575,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ClusterRoleBinding
operationId: readClusterRoleBinding
@@ -54736,7 +56619,10 @@ paths:
group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ClusterRoleBinding
operationId: patchClusterRoleBinding
@@ -54838,7 +56724,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ClusterRoleBinding
operationId: replaceClusterRoleBinding
@@ -54931,7 +56820,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/clusterroles:
delete:
description: delete collection of ClusterRole
@@ -55079,7 +56971,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ClusterRole
operationId: listClusterRole
@@ -55204,7 +57099,12 @@ paths:
group: rbac.authorization.k8s.io
kind: ClusterRole
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ClusterRole
operationId: createClusterRole
@@ -55303,7 +57203,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}:
delete:
description: delete a ClusterRole
@@ -55401,7 +57304,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ClusterRole
operationId: readClusterRole
@@ -55442,7 +57348,10 @@ paths:
group: rbac.authorization.k8s.io
kind: ClusterRole
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ClusterRole
operationId: patchClusterRole
@@ -55544,7 +57453,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ClusterRole
operationId: replaceClusterRole
@@ -55637,7 +57549,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings:
delete:
description: delete collection of RoleBinding
@@ -55791,7 +57706,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind RoleBinding
operationId: listNamespacedRoleBinding
@@ -55922,7 +57840,12 @@ paths:
group: rbac.authorization.k8s.io
kind: RoleBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a RoleBinding
operationId: createNamespacedRoleBinding
@@ -56027,7 +57950,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}:
delete:
description: delete a RoleBinding
@@ -56131,7 +58057,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified RoleBinding
operationId: readNamespacedRoleBinding
@@ -56178,7 +58107,10 @@ paths:
group: rbac.authorization.k8s.io
kind: RoleBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified RoleBinding
operationId: patchNamespacedRoleBinding
@@ -56286,7 +58218,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified RoleBinding
operationId: replaceNamespacedRoleBinding
@@ -56385,7 +58320,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles:
delete:
description: delete collection of Role
@@ -56539,7 +58477,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind Role
operationId: listNamespacedRole
@@ -56670,7 +58611,12 @@ paths:
group: rbac.authorization.k8s.io
kind: Role
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a Role
operationId: createNamespacedRole
@@ -56775,7 +58721,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}:
delete:
description: delete a Role
@@ -56879,7 +58828,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified Role
operationId: readNamespacedRole
@@ -56926,7 +58878,10 @@ paths:
group: rbac.authorization.k8s.io
kind: Role
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified Role
operationId: patchNamespacedRole
@@ -57034,7 +58989,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified Role
operationId: replaceNamespacedRole
@@ -57133,7 +59091,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/rolebindings:
get:
description: list or watch objects of kind RoleBinding
@@ -57259,7 +59220,12 @@ paths:
group: rbac.authorization.k8s.io
kind: RoleBinding
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/roles:
get:
description: list or watch objects of kind Role
@@ -57385,7 +59351,12 @@ paths:
group: rbac.authorization.k8s.io
kind: Role
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings: {}
/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}: {}
/apis/rbac.authorization.k8s.io/v1/watch/clusterroles: {}
@@ -57418,7 +59389,10 @@ paths:
description: Unauthorized
tags:
- resource
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/:
get:
description: get available resources
@@ -57441,7 +59415,10 @@ paths:
description: Unauthorized
tags:
- resource_v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts:
delete:
description: delete collection of PodSchedulingContext
@@ -57595,7 +59572,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PodSchedulingContext
operationId: listNamespacedPodSchedulingContext
@@ -57726,7 +59706,12 @@ paths:
group: resource.k8s.io
kind: PodSchedulingContext
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PodSchedulingContext
operationId: createNamespacedPodSchedulingContext
@@ -57831,7 +59816,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}:
delete:
description: delete a PodSchedulingContext
@@ -57935,7 +59923,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PodSchedulingContext
operationId: readNamespacedPodSchedulingContext
@@ -57982,7 +59973,10 @@ paths:
group: resource.k8s.io
kind: PodSchedulingContext
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PodSchedulingContext
operationId: patchNamespacedPodSchedulingContext
@@ -58090,7 +60084,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PodSchedulingContext
operationId: replaceNamespacedPodSchedulingContext
@@ -58189,7 +60186,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status:
get:
description: read status of the specified PodSchedulingContext
@@ -58237,7 +60237,10 @@ paths:
group: resource.k8s.io
kind: PodSchedulingContext
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified PodSchedulingContext
operationId: patchNamespacedPodSchedulingContextStatus
@@ -58345,7 +60348,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified PodSchedulingContext
operationId: replaceNamespacedPodSchedulingContextStatus
@@ -58444,7 +60450,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters:
delete:
description: delete collection of ResourceClaimParameters
@@ -58598,7 +60607,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceClaimParameters
operationId: listNamespacedResourceClaimParameters
@@ -58729,7 +60741,12 @@ paths:
group: resource.k8s.io
kind: ResourceClaimParameters
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create ResourceClaimParameters
operationId: createNamespacedResourceClaimParameters
@@ -58834,7 +60851,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}:
delete:
description: delete ResourceClaimParameters
@@ -58938,7 +60958,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceClaimParameters
operationId: readNamespacedResourceClaimParameters
@@ -58985,7 +61008,10 @@ paths:
group: resource.k8s.io
kind: ResourceClaimParameters
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceClaimParameters
operationId: patchNamespacedResourceClaimParameters
@@ -59093,7 +61119,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceClaimParameters
operationId: replaceNamespacedResourceClaimParameters
@@ -59192,7 +61221,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims:
delete:
description: delete collection of ResourceClaim
@@ -59346,7 +61378,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceClaim
operationId: listNamespacedResourceClaim
@@ -59477,7 +61512,12 @@ paths:
group: resource.k8s.io
kind: ResourceClaim
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - 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
@@ -59582,7 +61622,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}:
delete:
description: delete a ResourceClaim
@@ -59686,7 +61729,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceClaim
operationId: readNamespacedResourceClaim
@@ -59733,7 +61779,10 @@ paths:
group: resource.k8s.io
kind: ResourceClaim
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceClaim
operationId: patchNamespacedResourceClaim
@@ -59841,7 +61890,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceClaim
operationId: replaceNamespacedResourceClaim
@@ -59940,7 +61992,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status:
get:
description: read status of the specified ResourceClaim
@@ -59988,7 +62043,10 @@ paths:
group: resource.k8s.io
kind: ResourceClaim
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified ResourceClaim
operationId: patchNamespacedResourceClaimStatus
@@ -60096,7 +62154,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified ResourceClaim
operationId: replaceNamespacedResourceClaimStatus
@@ -60195,7 +62256,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates:
delete:
description: delete collection of ResourceClaimTemplate
@@ -60349,7 +62413,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceClaimTemplate
operationId: listNamespacedResourceClaimTemplate
@@ -60480,7 +62547,12 @@ paths:
group: resource.k8s.io
kind: ResourceClaimTemplate
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ResourceClaimTemplate
operationId: createNamespacedResourceClaimTemplate
@@ -60585,7 +62657,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}:
delete:
description: delete a ResourceClaimTemplate
@@ -60689,7 +62764,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceClaimTemplate
operationId: readNamespacedResourceClaimTemplate
@@ -60736,7 +62814,10 @@ paths:
group: resource.k8s.io
kind: ResourceClaimTemplate
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceClaimTemplate
operationId: patchNamespacedResourceClaimTemplate
@@ -60844,7 +62925,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceClaimTemplate
operationId: replaceNamespacedResourceClaimTemplate
@@ -60943,7 +63027,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters:
delete:
description: delete collection of ResourceClassParameters
@@ -61097,7 +63184,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceClassParameters
operationId: listNamespacedResourceClassParameters
@@ -61228,7 +63318,12 @@ paths:
group: resource.k8s.io
kind: ResourceClassParameters
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create ResourceClassParameters
operationId: createNamespacedResourceClassParameters
@@ -61333,7 +63428,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}:
delete:
description: delete ResourceClassParameters
@@ -61437,7 +63535,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceClassParameters
operationId: readNamespacedResourceClassParameters
@@ -61484,7 +63585,10 @@ paths:
group: resource.k8s.io
kind: ResourceClassParameters
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceClassParameters
operationId: patchNamespacedResourceClassParameters
@@ -61592,7 +63696,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceClassParameters
operationId: replaceNamespacedResourceClassParameters
@@ -61691,7 +63798,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/podschedulingcontexts:
get:
description: list or watch objects of kind PodSchedulingContext
@@ -61817,7 +63927,12 @@ paths:
group: resource.k8s.io
kind: PodSchedulingContext
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceclaimparameters:
get:
description: list or watch objects of kind ResourceClaimParameters
@@ -61943,7 +64058,12 @@ paths:
group: resource.k8s.io
kind: ResourceClaimParameters
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceclaims:
get:
description: list or watch objects of kind ResourceClaim
@@ -62069,7 +64189,12 @@ paths:
group: resource.k8s.io
kind: ResourceClaim
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates:
get:
description: list or watch objects of kind ResourceClaimTemplate
@@ -62195,7 +64320,12 @@ paths:
group: resource.k8s.io
kind: ResourceClaimTemplate
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceclasses:
delete:
description: delete collection of ResourceClass
@@ -62343,7 +64473,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceClass
operationId: listResourceClass
@@ -62468,7 +64601,12 @@ paths:
group: resource.k8s.io
kind: ResourceClass
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ResourceClass
operationId: createResourceClass
@@ -62567,7 +64705,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}:
delete:
description: delete a ResourceClass
@@ -62665,7 +64806,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceClass
operationId: readResourceClass
@@ -62706,7 +64850,10 @@ paths:
group: resource.k8s.io
kind: ResourceClass
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceClass
operationId: patchResourceClass
@@ -62808,7 +64955,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceClass
operationId: replaceResourceClass
@@ -62901,7 +65051,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceclassparameters:
get:
description: list or watch objects of kind ResourceClassParameters
@@ -63027,7 +65180,12 @@ paths:
group: resource.k8s.io
kind: ResourceClassParameters
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceslices:
delete:
description: delete collection of ResourceSlice
@@ -63175,7 +65333,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind ResourceSlice
operationId: listResourceSlice
@@ -63300,7 +65461,12 @@ paths:
group: resource.k8s.io
kind: ResourceSlice
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a ResourceSlice
operationId: createResourceSlice
@@ -63399,7 +65565,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/resourceslices/{name}:
delete:
description: delete a ResourceSlice
@@ -63497,7 +65666,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified ResourceSlice
operationId: readResourceSlice
@@ -63538,7 +65710,10 @@ paths:
group: resource.k8s.io
kind: ResourceSlice
version: v1alpha2
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified ResourceSlice
operationId: patchResourceSlice
@@ -63640,7 +65815,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified ResourceSlice
operationId: replaceResourceSlice
@@ -63733,7 +65911,10 @@ paths:
version: v1alpha2
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts: {}
/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts/{name}: {}
/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters: {}
@@ -63775,7 +65956,10 @@ paths:
description: Unauthorized
tags:
- scheduling
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/scheduling.k8s.io/v1/:
get:
description: get available resources
@@ -63798,7 +65982,10 @@ paths:
description: Unauthorized
tags:
- scheduling_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/scheduling.k8s.io/v1/priorityclasses:
delete:
description: delete collection of PriorityClass
@@ -63946,7 +66133,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind PriorityClass
operationId: listPriorityClass
@@ -64071,7 +66261,12 @@ paths:
group: scheduling.k8s.io
kind: PriorityClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a PriorityClass
operationId: createPriorityClass
@@ -64170,7 +66365,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/scheduling.k8s.io/v1/priorityclasses/{name}:
delete:
description: delete a PriorityClass
@@ -64268,7 +66466,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified PriorityClass
operationId: readPriorityClass
@@ -64309,7 +66510,10 @@ paths:
group: scheduling.k8s.io
kind: PriorityClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified PriorityClass
operationId: patchPriorityClass
@@ -64411,7 +66615,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified PriorityClass
operationId: replacePriorityClass
@@ -64504,7 +66711,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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/:
@@ -64529,7 +66739,10 @@ paths:
description: Unauthorized
tags:
- storage
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/:
get:
description: get available resources
@@ -64552,7 +66765,10 @@ paths:
description: Unauthorized
tags:
- storage_v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/csidrivers:
delete:
description: delete collection of CSIDriver
@@ -64700,7 +66916,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind CSIDriver
operationId: listCSIDriver
@@ -64825,7 +67044,12 @@ paths:
group: storage.k8s.io
kind: CSIDriver
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a CSIDriver
operationId: createCSIDriver
@@ -64924,7 +67148,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/csidrivers/{name}:
delete:
description: delete a CSIDriver
@@ -65022,7 +67249,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified CSIDriver
operationId: readCSIDriver
@@ -65063,7 +67293,10 @@ paths:
group: storage.k8s.io
kind: CSIDriver
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified CSIDriver
operationId: patchCSIDriver
@@ -65165,7 +67398,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified CSIDriver
operationId: replaceCSIDriver
@@ -65258,7 +67494,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/csinodes:
delete:
description: delete collection of CSINode
@@ -65406,7 +67645,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind CSINode
operationId: listCSINode
@@ -65531,7 +67773,12 @@ paths:
group: storage.k8s.io
kind: CSINode
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a CSINode
operationId: createCSINode
@@ -65630,7 +67877,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/csinodes/{name}:
delete:
description: delete a CSINode
@@ -65728,7 +67978,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified CSINode
operationId: readCSINode
@@ -65769,7 +68022,10 @@ paths:
group: storage.k8s.io
kind: CSINode
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified CSINode
operationId: patchCSINode
@@ -65871,7 +68127,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified CSINode
operationId: replaceCSINode
@@ -65964,7 +68223,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/csistoragecapacities:
get:
description: list or watch objects of kind CSIStorageCapacity
@@ -66090,7 +68352,12 @@ paths:
group: storage.k8s.io
kind: CSIStorageCapacity
version: v1
- x-accepts: application/json
+ x-accepts:
+ - 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 CSIStorageCapacity
@@ -66244,7 +68511,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind CSIStorageCapacity
operationId: listNamespacedCSIStorageCapacity
@@ -66375,7 +68645,12 @@ paths:
group: storage.k8s.io
kind: CSIStorageCapacity
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a CSIStorageCapacity
operationId: createNamespacedCSIStorageCapacity
@@ -66480,7 +68755,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}:
delete:
description: delete a CSIStorageCapacity
@@ -66584,7 +68862,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified CSIStorageCapacity
operationId: readNamespacedCSIStorageCapacity
@@ -66631,7 +68912,10 @@ paths:
group: storage.k8s.io
kind: CSIStorageCapacity
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified CSIStorageCapacity
operationId: patchNamespacedCSIStorageCapacity
@@ -66739,7 +69023,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified CSIStorageCapacity
operationId: replaceNamespacedCSIStorageCapacity
@@ -66838,7 +69125,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/storageclasses:
delete:
description: delete collection of StorageClass
@@ -66986,7 +69276,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind StorageClass
operationId: listStorageClass
@@ -67111,7 +69404,12 @@ paths:
group: storage.k8s.io
kind: StorageClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a StorageClass
operationId: createStorageClass
@@ -67210,7 +69508,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/storageclasses/{name}:
delete:
description: delete a StorageClass
@@ -67308,7 +69609,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified StorageClass
operationId: readStorageClass
@@ -67349,7 +69653,10 @@ paths:
group: storage.k8s.io
kind: StorageClass
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified StorageClass
operationId: patchStorageClass
@@ -67451,7 +69758,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified StorageClass
operationId: replaceStorageClass
@@ -67544,7 +69854,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/volumeattachments:
delete:
description: delete collection of VolumeAttachment
@@ -67692,7 +70005,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind VolumeAttachment
operationId: listVolumeAttachment
@@ -67817,7 +70133,12 @@ paths:
group: storage.k8s.io
kind: VolumeAttachment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
+ - application/vnd.kubernetes.protobuf
+ - application/vnd.kubernetes.protobuf;stream=watch
+ - application/yaml
post:
description: create a VolumeAttachment
operationId: createVolumeAttachment
@@ -67916,7 +70237,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/volumeattachments/{name}:
delete:
description: delete a VolumeAttachment
@@ -68014,7 +70338,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified VolumeAttachment
operationId: readVolumeAttachment
@@ -68055,7 +70382,10 @@ paths:
group: storage.k8s.io
kind: VolumeAttachment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified VolumeAttachment
operationId: patchVolumeAttachment
@@ -68157,7 +70487,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified VolumeAttachment
operationId: replaceVolumeAttachment
@@ -68250,7 +70583,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1/volumeattachments/{name}/status:
get:
description: read status of the specified VolumeAttachment
@@ -68292,7 +70628,10 @@ paths:
group: storage.k8s.io
kind: VolumeAttachment
version: v1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified VolumeAttachment
operationId: patchVolumeAttachmentStatus
@@ -68394,7 +70733,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified VolumeAttachment
operationId: replaceVolumeAttachmentStatus
@@ -68487,7 +70829,10 @@ paths:
version: v1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - 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: {}
@@ -68521,7 +70866,10 @@ paths:
description: Unauthorized
tags:
- storage_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1alpha1/volumeattributesclasses:
delete:
description: delete collection of VolumeAttributesClass
@@ -68669,7 +71017,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind VolumeAttributesClass
operationId: listVolumeAttributesClass
@@ -68794,7 +71145,12 @@ paths:
group: storage.k8s.io
kind: VolumeAttributesClass
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - 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
@@ -68893,7 +71249,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}:
delete:
description: delete a VolumeAttributesClass
@@ -68991,7 +71350,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified VolumeAttributesClass
operationId: readVolumeAttributesClass
@@ -69032,7 +71394,10 @@ paths:
group: storage.k8s.io
kind: VolumeAttributesClass
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified VolumeAttributesClass
operationId: patchVolumeAttributesClass
@@ -69134,7 +71499,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified VolumeAttributesClass
operationId: replaceVolumeAttributesClass
@@ -69227,7 +71595,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses: {}
/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}: {}
/apis/storagemigration.k8s.io/:
@@ -69252,7 +71623,10 @@ paths:
description: Unauthorized
tags:
- storagemigration
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storagemigration.k8s.io/v1alpha1/:
get:
description: get available resources
@@ -69275,7 +71649,10 @@ paths:
description: Unauthorized
tags:
- storagemigration_v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations:
delete:
description: delete collection of StorageVersionMigration
@@ -69423,7 +71800,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: list or watch objects of kind StorageVersionMigration
operationId: listStorageVersionMigration
@@ -69548,7 +71928,12 @@ paths:
group: storagemigration.k8s.io
kind: StorageVersionMigration
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - 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
@@ -69647,7 +72032,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}:
delete:
description: delete a StorageVersionMigration
@@ -69745,7 +72133,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
get:
description: read the specified StorageVersionMigration
operationId: readStorageVersionMigration
@@ -69786,7 +72177,10 @@ paths:
group: storagemigration.k8s.io
kind: StorageVersionMigration
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update the specified StorageVersionMigration
operationId: patchStorageVersionMigration
@@ -69888,7 +72282,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace the specified StorageVersionMigration
operationId: replaceStorageVersionMigration
@@ -69981,7 +72378,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}/status:
get:
description: read status of the specified StorageVersionMigration
@@ -70023,7 +72423,10 @@ paths:
group: storagemigration.k8s.io
kind: StorageVersionMigration
version: v1alpha1
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified StorageVersionMigration
operationId: patchStorageVersionMigrationStatus
@@ -70125,7 +72528,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified StorageVersionMigration
operationId: replaceStorageVersionMigrationStatus
@@ -70218,7 +72624,10 @@ paths:
version: v1alpha1
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/storagemigration.k8s.io/v1alpha1/watch/storageversionmigrations: {}
/apis/storagemigration.k8s.io/v1alpha1/watch/storageversionmigrations/{name}: {}
/logs/:
@@ -70230,7 +72639,8 @@ paths:
description: Unauthorized
tags:
- logs
- x-accepts: application/json
+ x-accepts:
+ - application/json
/logs/{logpath}:
get:
operationId: logFileHandler
@@ -70247,7 +72657,8 @@ paths:
description: Unauthorized
tags:
- logs
- x-accepts: application/json
+ x-accepts:
+ - application/json
/version/:
get:
description: get the code version
@@ -70264,7 +72675,8 @@ paths:
description: Unauthorized
tags:
- version
- x-accepts: application/json
+ x-accepts:
+ - application/json
/apis/{group}/{version}:
get:
description: get available resources
@@ -70294,7 +72706,8 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
/apis/{group}/{version}/{plural}:
delete:
description: Delete collection of cluster scoped custom objects
@@ -70383,7 +72796,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
get:
description: list or watch cluster scoped custom objects
operationId: listClusterCustomObject
@@ -70496,7 +72910,9 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
post:
description: Creates a cluster scoped Custom object
operationId: createClusterCustomObject
@@ -70581,7 +72997,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
/apis/{group}/{version}/namespaces/{namespace}/{plural}:
delete:
description: Delete collection of namespace scoped custom objects
@@ -70676,7 +73093,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
get:
description: list or watch namespace scoped custom objects
operationId: listNamespacedCustomObject
@@ -70795,7 +73213,9 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/json;stream=watch
post:
description: Creates a namespace scoped Custom object
operationId: createNamespacedCustomObject
@@ -70884,7 +73304,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
/apis/{group}/{version}/{plural}/{name}:
delete:
description: Deletes the specified cluster scoped custom object
@@ -70968,7 +73389,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
get:
description: Returns a cluster scoped custom object
operationId: getClusterCustomObject
@@ -71010,7 +73432,8 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
patch:
description: patch the specified cluster scoped custom object
operationId: patchClusterCustomObject
@@ -71103,7 +73526,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
put:
description: replace the specified cluster scoped custom object
operationId: replaceClusterCustomObject
@@ -71187,7 +73611,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
/apis/{group}/{version}/{plural}/{name}/status:
get:
description: read status of the specified cluster scoped custom object
@@ -71236,7 +73661,10 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified cluster scoped custom
object
@@ -71336,7 +73764,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the cluster scoped specified custom object
operationId: replaceClusterCustomObjectStatus
@@ -71437,7 +73868,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/{group}/{version}/{plural}/{name}/scale:
get:
description: read scale of the specified custom object
@@ -71486,7 +73920,10 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update scale of the specified cluster scoped custom object
operationId: patchClusterCustomObjectScale
@@ -71585,7 +74022,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace scale of the specified cluster scoped custom object
operationId: replaceClusterCustomObjectScale
@@ -71686,7 +74126,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}:
delete:
description: Deletes the specified namespace scoped custom object
@@ -71776,7 +74219,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
get:
description: Returns a namespace scoped custom object
operationId: getNamespacedCustomObject
@@ -71824,7 +74268,8 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
patch:
description: patch the specified namespace scoped custom object
operationId: patchNamespacedCustomObject
@@ -71923,7 +74368,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
put:
description: replace the specified namespace scoped custom object
operationId: replaceNamespacedCustomObject
@@ -72013,7 +74459,8 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status:
get:
description: read status of the specified namespace scoped custom object
@@ -72068,7 +74515,10 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update status of the specified namespace scoped custom
object
@@ -72174,7 +74624,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace status of the specified namespace scoped custom object
operationId: replaceNamespacedCustomObjectStatus
@@ -72281,7 +74734,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale:
get:
description: read scale of the specified namespace scoped custom object
@@ -72336,7 +74792,10 @@ paths:
description: Unauthorized
tags:
- custom_objects
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
patch:
description: partially update scale of the specified namespace scoped custom
object
@@ -72442,7 +74901,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
put:
description: replace scale of the specified namespace scoped custom object
operationId: replaceNamespacedCustomObjectScale
@@ -72549,7 +75011,10 @@ paths:
- custom_objects
x-codegen-request-body-name: body
x-content-type: application/json
- x-accepts: application/json
+ x-accepts:
+ - application/json
+ - application/vnd.kubernetes.protobuf
+ - application/yaml
/.well-known/openid-configuration:
get:
description: "get service account issuer OpenID configuration, also known as\
@@ -72567,7 +75032,8 @@ paths:
description: Unauthorized
tags:
- WellKnown
- x-accepts: application/json
+ x-accepts:
+ - application/json
/openid/v1/jwks:
get:
description: get service account issuer OpenID JSON Web Key Set (contains public
@@ -72585,7 +75051,8 @@ paths:
description: Unauthorized
tags:
- openid
- x-accepts: application/jwk-set+json
+ x-accepts:
+ - application/jwk-set+json
components:
schemas:
v1.AuditAnnotation:
@@ -74701,6 +77168,8 @@ components:
type: string
metadata:
$ref: '#/components/schemas/v1.ListMeta'
+ required:
+ - items
type: object
x-kubernetes-group-version-kind:
- group: admissionregistration.k8s.io
@@ -75284,6 +77753,8 @@ components:
type: string
metadata:
$ref: '#/components/schemas/v1.ListMeta'
+ required:
+ - items
type: object
x-kubernetes-group-version-kind:
- group: admissionregistration.k8s.io
@@ -77674,6 +80145,8 @@ components:
type: string
metadata:
$ref: '#/components/schemas/v1.ListMeta'
+ required:
+ - items
type: object
x-kubernetes-group-version-kind:
- group: admissionregistration.k8s.io
@@ -78257,6 +80730,8 @@ components:
type: string
metadata:
$ref: '#/components/schemas/v1.ListMeta'
+ required:
+ - items
type: object
x-kubernetes-group-version-kind:
- group: admissionregistration.k8s.io
@@ -79766,6 +82241,8 @@ components:
type: string
metadata:
$ref: '#/components/schemas/v1.ListMeta'
+ required:
+ - items
type: object
x-kubernetes-group-version-kind:
- group: admissionregistration.k8s.io
@@ -80349,6 +82826,8 @@ components:
type: string
metadata:
$ref: '#/components/schemas/v1.ListMeta'
+ required:
+ - items
type: object
x-kubernetes-group-version-kind:
- group: admissionregistration.k8s.io
@@ -169344,7 +171823,10 @@ components:
optional: true
properties:
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: Specify whether the ConfigMap must be defined
@@ -169361,7 +171843,10 @@ components:
description: The key to select.
type: string
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: Specify whether the ConfigMap or its key must be defined
@@ -169580,7 +172065,10 @@ components:
type: array
x-kubernetes-list-type: atomic
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: optional specify whether the ConfigMap or its keys must be
@@ -169627,7 +172115,10 @@ components:
type: array
x-kubernetes-list-type: atomic
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: optional specify whether the ConfigMap or its keys must be
@@ -172628,6 +175119,8 @@ components:
ip:
description: IP address of the host file entry.
type: string
+ required:
+ - ip
type: object
v1.HostIP:
description: HostIP represents a single IP address allocated to the host.
@@ -172637,6 +175130,8 @@ components:
ip:
description: IP is the IP address assigned to the host
type: string
+ required:
+ - ip
type: object
v1.HostPathVolumeSource:
description: Represents a host path mapped into a pod. Host path volumes do
@@ -173368,7 +175863,10 @@ components:
name: name
properties:
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
type: object
x-kubernetes-map-type: atomic
@@ -181165,6 +183663,8 @@ components:
ip:
description: IP is the IP address assigned to the pod
type: string
+ required:
+ - ip
type: object
v1.PodList:
description: PodList is a list of Pods.
@@ -218072,7 +220572,10 @@ components:
optional: true
properties:
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: Specify whether the Secret must be defined
@@ -218090,7 +220593,10 @@ components:
key.
type: string
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: Specify whether the Secret or its key must be defined
@@ -218274,7 +220780,10 @@ components:
type: array
x-kubernetes-list-type: atomic
name:
- description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
+ description: "Name of the referent. This field is effectively required,\
+ \ but due to backwards compatibility is allowed to be empty. Instances\
+ \ of this type with an empty value here are almost certainly wrong. More\
+ \ info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: string
optional:
description: optional field specify whether the Secret or its key must be
@@ -219511,7 +222020,8 @@ components:
\ use this field as a hint, but are not required to guarantee strict adherence.\
\ If the field is not set, the implementation will apply its default routing\
\ strategy. If set to \"PreferClose\", implementations should prioritize\
- \ endpoints that are topologically close (e.g., same zone)."
+ \ endpoints that are topologically close (e.g., same zone). This is an\
+ \ alpha field and requires enabling ServiceTrafficDistribution feature."
type: string
type:
description: "type determines how the Service is exposed. Defaults to ClusterIP.\
diff --git a/kubernetes/docs/V1ConfigMapEnvSource.md b/kubernetes/docs/V1ConfigMapEnvSource.md
index 9a8879acd9..77658d5f55 100644
--- a/kubernetes/docs/V1ConfigMapEnvSource.md
+++ b/kubernetes/docs/V1ConfigMapEnvSource.md
@@ -8,7 +8,7 @@ ConfigMapEnvSource selects a ConfigMap to populate the environment variables wit
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | Specify whether the ConfigMap must be defined | [optional] |
diff --git a/kubernetes/docs/V1ConfigMapKeySelector.md b/kubernetes/docs/V1ConfigMapKeySelector.md
index d5a9c8e718..3901a37bf4 100644
--- a/kubernetes/docs/V1ConfigMapKeySelector.md
+++ b/kubernetes/docs/V1ConfigMapKeySelector.md
@@ -9,7 +9,7 @@ Selects a key from a ConfigMap.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**key** | **String** | The key to select. | |
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | Specify whether the ConfigMap or its key must be defined | [optional] |
diff --git a/kubernetes/docs/V1ConfigMapProjection.md b/kubernetes/docs/V1ConfigMapProjection.md
index 008bc8c1a6..920064e2c0 100644
--- a/kubernetes/docs/V1ConfigMapProjection.md
+++ b/kubernetes/docs/V1ConfigMapProjection.md
@@ -9,7 +9,7 @@ Adapts a ConfigMap into a projected volume. The contents of the target ConfigMa
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] |
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | optional specify whether the ConfigMap or its keys must be defined | [optional] |
diff --git a/kubernetes/docs/V1ConfigMapVolumeSource.md b/kubernetes/docs/V1ConfigMapVolumeSource.md
index 87176500dd..2b6341b76f 100644
--- a/kubernetes/docs/V1ConfigMapVolumeSource.md
+++ b/kubernetes/docs/V1ConfigMapVolumeSource.md
@@ -10,7 +10,7 @@ Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data f
|------------ | ------------- | ------------- | -------------|
|**defaultMode** | **Integer** | defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] |
|**items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] |
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | optional specify whether the ConfigMap or its keys must be defined | [optional] |
diff --git a/kubernetes/docs/V1HostAlias.md b/kubernetes/docs/V1HostAlias.md
index fc3f59a5ea..7f1f756008 100644
--- a/kubernetes/docs/V1HostAlias.md
+++ b/kubernetes/docs/V1HostAlias.md
@@ -9,7 +9,7 @@ HostAlias holds the mapping between IP and hostnames that will be injected as an
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**hostnames** | **List<String>** | Hostnames for the above IP address. | [optional] |
-|**ip** | **String** | IP address of the host file entry. | [optional] |
+|**ip** | **String** | IP address of the host file entry. | |
diff --git a/kubernetes/docs/V1HostIP.md b/kubernetes/docs/V1HostIP.md
index 45c3ccd3a7..c6cbf0ac66 100644
--- a/kubernetes/docs/V1HostIP.md
+++ b/kubernetes/docs/V1HostIP.md
@@ -8,7 +8,7 @@ HostIP represents a single IP address allocated to the host.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**ip** | **String** | IP is the IP address assigned to the host | [optional] |
+|**ip** | **String** | IP is the IP address assigned to the host | |
diff --git a/kubernetes/docs/V1LocalObjectReference.md b/kubernetes/docs/V1LocalObjectReference.md
index 183e4be55b..33a0577203 100644
--- a/kubernetes/docs/V1LocalObjectReference.md
+++ b/kubernetes/docs/V1LocalObjectReference.md
@@ -8,7 +8,7 @@ LocalObjectReference contains enough information to let you locate the reference
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
diff --git a/kubernetes/docs/V1PodIP.md b/kubernetes/docs/V1PodIP.md
index 165385bc0b..9f23353d6c 100644
--- a/kubernetes/docs/V1PodIP.md
+++ b/kubernetes/docs/V1PodIP.md
@@ -8,7 +8,7 @@ PodIP represents a single IP address allocated to the pod.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**ip** | **String** | IP is the IP address assigned to the pod | [optional] |
+|**ip** | **String** | IP is the IP address assigned to the pod | |
diff --git a/kubernetes/docs/V1SecretEnvSource.md b/kubernetes/docs/V1SecretEnvSource.md
index be2d5de177..56a1d5d18d 100644
--- a/kubernetes/docs/V1SecretEnvSource.md
+++ b/kubernetes/docs/V1SecretEnvSource.md
@@ -8,7 +8,7 @@ SecretEnvSource selects a Secret to populate the environment variables with. Th
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | Specify whether the Secret must be defined | [optional] |
diff --git a/kubernetes/docs/V1SecretKeySelector.md b/kubernetes/docs/V1SecretKeySelector.md
index 4b94afd5dd..2a8b18b6b5 100644
--- a/kubernetes/docs/V1SecretKeySelector.md
+++ b/kubernetes/docs/V1SecretKeySelector.md
@@ -9,7 +9,7 @@ SecretKeySelector selects a key of a Secret.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**key** | **String** | The key of the secret to select from. Must be a valid secret key. | |
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | Specify whether the Secret or its key must be defined | [optional] |
diff --git a/kubernetes/docs/V1SecretProjection.md b/kubernetes/docs/V1SecretProjection.md
index 1bd5794e14..0e1145b3c5 100644
--- a/kubernetes/docs/V1SecretProjection.md
+++ b/kubernetes/docs/V1SecretProjection.md
@@ -9,7 +9,7 @@ Adapts a secret into a projected volume. The contents of the target Secret's Da
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] |
-|**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
+|**name** | **String** | Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] |
|**optional** | **Boolean** | optional field specify whether the Secret or its key must be defined | [optional] |
diff --git a/kubernetes/docs/V1ServiceSpec.md b/kubernetes/docs/V1ServiceSpec.md
index 82c1275bc3..8135c63f86 100644
--- a/kubernetes/docs/V1ServiceSpec.md
+++ b/kubernetes/docs/V1ServiceSpec.md
@@ -26,7 +26,7 @@ ServiceSpec describes the attributes that a user creates on a service.
|**selector** | **Map<String, String>** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ | [optional] |
|**sessionAffinity** | **String** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] |
|**sessionAffinityConfig** | [**V1SessionAffinityConfig**](V1SessionAffinityConfig.md) | | [optional] |
-|**trafficDistribution** | **String** | TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). | [optional] |
+|**trafficDistribution** | **String** | TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is an alpha field and requires enabling ServiceTrafficDistribution feature. | [optional] |
|**type** | **String** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types | [optional] |
diff --git a/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md
index d8bad34dd3..3fbfa94b01 100644
--- a/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md
+++ b/kubernetes/docs/V1ValidatingAdmissionPolicyBindingList.md
@@ -9,7 +9,7 @@ ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBindi
| 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<V1ValidatingAdmissionPolicyBinding>**](V1ValidatingAdmissionPolicyBinding.md) | List of PolicyBinding. | [optional] |
+|**items** | [**List<V1ValidatingAdmissionPolicyBinding>**](V1ValidatingAdmissionPolicyBinding.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] |
diff --git a/kubernetes/docs/V1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1ValidatingAdmissionPolicyList.md
index 5057a010a3..d6229c3833 100644
--- a/kubernetes/docs/V1ValidatingAdmissionPolicyList.md
+++ b/kubernetes/docs/V1ValidatingAdmissionPolicyList.md
@@ -9,7 +9,7 @@ ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
| 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<V1ValidatingAdmissionPolicy>**](V1ValidatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | [optional] |
+|**items** | [**List<V1ValidatingAdmissionPolicy>**](V1ValidatingAdmissionPolicy.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] |
diff --git a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md
index 0ae842b819..0f337b45c9 100644
--- a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md
+++ b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyBindingList.md
@@ -9,7 +9,7 @@ ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBindi
| 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<V1alpha1ValidatingAdmissionPolicyBinding>**](V1alpha1ValidatingAdmissionPolicyBinding.md) | List of PolicyBinding. | [optional] |
+|**items** | [**List<V1alpha1ValidatingAdmissionPolicyBinding>**](V1alpha1ValidatingAdmissionPolicyBinding.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] |
diff --git a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md
index 05db4fb968..aad2631452 100644
--- a/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md
+++ b/kubernetes/docs/V1alpha1ValidatingAdmissionPolicyList.md
@@ -9,7 +9,7 @@ ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
| 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<V1alpha1ValidatingAdmissionPolicy>**](V1alpha1ValidatingAdmissionPolicy.md) | List of ValidatingAdmissionPolicy. | [optional] |
+|**items** | [**List<V1alpha1ValidatingAdmissionPolicy>**](V1alpha1ValidatingAdmissionPolicy.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] |
diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md
index 1a1c1a3db8..84922833b6 100644
--- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md
+++ b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyBindingList.md
@@ -9,7 +9,7 @@ ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBindi
| 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. | [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] |
diff --git a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md
index 6a9271adf6..2a5bd91006 100644
--- a/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md
+++ b/kubernetes/docs/V1beta1ValidatingAdmissionPolicyList.md
@@ -9,7 +9,7 @@ ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
| 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. | [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] |
diff --git a/kubernetes/src/main/java/io/kubernetes/client/gson/V1MetadataExclusionStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/gson/V1MetadataExclusionStrategy.java
new file mode 100644
index 0000000000..d6679fb164
--- /dev/null
+++ b/kubernetes/src/main/java/io/kubernetes/client/gson/V1MetadataExclusionStrategy.java
@@ -0,0 +1,28 @@
+/*
+Copyright 2024 The Kubernetes Authors.
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT 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.gson;
+
+import com.google.gson.ExclusionStrategy;
+import com.google.gson.FieldAttributes;
+import io.kubernetes.client.openapi.models.V1ObjectMeta;
+
+public class V1MetadataExclusionStrategy implements com.google.gson.ExclusionStrategy {
+ public boolean shouldSkipField(FieldAttributes f) {
+ // Don't serialize the 'managedFields' field.
+ return (f.getDeclaringClass().equals(V1ObjectMeta.class) && f.getName().equalsIgnoreCase("managedFields"));
+ }
+
+ public boolean shouldSkipClass(Class> clazz) {
+ return false;
+ }
+}
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 cf19a3387f..a18ccfe6d4 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java
@@ -46,6 +46,7 @@
import java.util.*;
import java.util.Map.Entry;
import java.util.concurrent.TimeUnit;
+import java.util.function.Supplier;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -465,6 +466,19 @@ public void setAWS4Configuration(String accessKey, String secretKey, String regi
throw new RuntimeException("No AWS4 authentication configured!");
}
+ /**
+ * Helper method to set credentials for AWSV4 Signature
+ *
+ * @param accessKey Access Key
+ * @param secretKey Secret Key
+ * @param sessionToken Session Token
+ * @param region Region
+ * @param service Service to access to
+ */
+ public void setAWS4Configuration(String accessKey, String secretKey, String sessionToken, String region, String service) {
+ throw new RuntimeException("No AWS4 authentication configured!");
+ }
+
/**
* Set the User-Agent header's value (by adding to the default header map).
*
@@ -1167,12 +1181,15 @@ public Request buildRequest(String baseUrl, String path, String method, ListApiException class.
*/
@SuppressWarnings("serial")
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiException extends Exception {
+ private static final long serialVersionUID = 1L;
+
private int code = 0;
private Map> responseHeaders = null;
private String responseBody = null;
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 9fd493bde3..56badfd7bc 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java
@@ -12,7 +12,7 @@
*/
package io.kubernetes.client.openapi;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class Configuration {
public static final String VERSION = "21.0.0-SNAPSHOT";
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 761bae299a..34acd3db04 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/JSON.java
@@ -12,17 +12,17 @@
*/
package io.kubernetes.client.openapi;
+import com.fasterxml.jackson.databind.util.StdDateFormat;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonParseException;
import com.google.gson.TypeAdapter;
-import com.google.gson.internal.bind.util.ISO8601Utils;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.google.gson.JsonElement;
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;
@@ -32,9 +32,10 @@
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.text.ParseException;
-import java.text.ParsePosition;
import java.time.LocalDate;
import java.time.OffsetDateTime;
+import java.time.ZoneId;
+import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeFormatterBuilder;
import java.time.format.DateTimeParseException;
@@ -43,6 +44,7 @@
import java.util.Locale;
import java.util.Map;
import java.util.HashMap;
+import java.util.TimeZone;
/*
* A JSON utility class
@@ -53,7 +55,6 @@
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)
@@ -63,21 +64,26 @@ public class JSON {
.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 LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter();
private static ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter();
+ private static final StdDateFormat sdf = new StdDateFormat()
+ .withTimeZone(TimeZone.getTimeZone(ZoneId.systemDefault()))
+ .withColonInTimeZone(true);
+ private static final DateTimeFormatter dtf = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
+
@SuppressWarnings("unchecked")
public static GsonBuilder createGson() {
- GsonFireBuilder fireBuilder = new GsonFireBuilder()
- ;
+ GsonFireBuilder fireBuilder = new GsonFireBuilder();
GsonBuilder builder =
- fireBuilder
- .registerPreProcessor(V1Status.class, new V1StatusPreProcessor())
- .createGsonBuilder();
- return builder;
+ fireBuilder
+ .registerPreProcessor(V1Status.class, new V1StatusPreProcessor())
+ .createGsonBuilder();
+ return builder.setExclusionStrategies(new V1MetadataExclusionStrategy());
}
private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) {
@@ -797,6 +803,7 @@ public static class ByteArrayAdapter extends TypeAdapter {
public void write(JsonWriter out, byte[] value) throws IOException {
boolean oldHtmlSafe = out.isHtmlSafe();
out.setHtmlSafe(false);
+
if (value == null) {
out.nullValue();
} else {
@@ -963,7 +970,7 @@ public java.sql.Date read(JsonReader in) throws IOException {
if (dateFormat != null) {
return new java.sql.Date(dateFormat.parse(date).getTime());
}
- return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime());
+ return new java.sql.Date(sdf.parse(date).getTime());
} catch (ParseException e) {
throw new JsonParseException(e);
}
@@ -973,7 +980,7 @@ public java.sql.Date read(JsonReader in) throws IOException {
/**
* Gson TypeAdapter for java.util.Date type
- * If the dateFormat is null, ISO8601Utils will be used.
+ * If the dateFormat is null, DateTimeFormatter will be used.
*/
public static class DateTypeAdapter extends TypeAdapter {
@@ -998,7 +1005,7 @@ public void write(JsonWriter out, Date date) throws IOException {
if (dateFormat != null) {
value = dateFormat.format(date);
} else {
- value = ISO8601Utils.format(date, true);
+ value = date.toInstant().atOffset(ZoneOffset.UTC).format(dtf);
}
out.value(value);
}
@@ -1017,7 +1024,7 @@ public Date read(JsonReader in) throws IOException {
if (dateFormat != null) {
return dateFormat.parse(date);
}
- return ISO8601Utils.parse(date, new ParsePosition(0));
+ return sdf.parse(date);
} catch (ParseException e) {
throw new JsonParseException(e);
}
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 ddcc4286ad..a15dd8142f 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java
@@ -12,7 +12,7 @@
*/
package io.kubernetes.client.openapi;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class Pair {
private String name = "";
private String value = "";
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 b9808b2b01..dcc9e1e226 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerConfiguration.java
@@ -17,6 +17,7 @@
/**
* Representing a Server configuration.
*/
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.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 c3ebfbaa22..492e7a9b95 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/ServerVariable.java
@@ -17,6 +17,7 @@
/**
* Representing a Server Variable for server URL template substitution.
*/
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.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 b0ac719323..855f984370 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/StringUtil.java
@@ -15,7 +15,7 @@
import java.util.Collection;
import java.util.Iterator;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.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 6de18afb8c..59cdbb0f7a 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AdmissionregistrationApi {
private ApiClient localVarApiClient;
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 42b2ecd3ef..02d11b6810 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
@@ -44,7 +44,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AdmissionregistrationV1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java
index 7d14a890f5..ec7b5d8c02 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1alpha1Api.java
@@ -40,7 +40,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AdmissionregistrationV1alpha1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java
index 99120f5ab1..7896f4823b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AdmissionregistrationV1beta1Api.java
@@ -40,7 +40,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AdmissionregistrationV1beta1Api {
private ApiClient localVarApiClient;
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 0d65f2580c..951e53394e 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ApiextensionsApi {
private ApiClient localVarApiClient;
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 60903d5b70..992bbb0928 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ApiextensionsV1Api {
private ApiClient localVarApiClient;
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 7f1da9fda6..832fc258bb 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ApiregistrationApi {
private ApiClient localVarApiClient;
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 297085032c..00102cc259 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ApiregistrationV1Api {
private ApiClient localVarApiClient;
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 1aaf0e5a32..1362148023 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ApisApi {
private ApiClient localVarApiClient;
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 d4c7151f23..76609a3477 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AppsApi {
private ApiClient localVarApiClient;
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 4b570a7117..0eb9868d26 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
@@ -47,7 +47,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AppsV1Api {
private ApiClient localVarApiClient;
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 8292025aab..9c79b0ad5e 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AuthenticationApi {
private ApiClient localVarApiClient;
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 0d26749f26..9d533f9464 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
@@ -35,7 +35,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AuthenticationV1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java
index 6804ed37b0..1be19de38a 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1alpha1Api.java
@@ -34,7 +34,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AuthenticationV1alpha1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java
index 0dbd180717..504bfee37c 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/AuthenticationV1beta1Api.java
@@ -34,7 +34,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AuthenticationV1beta1Api {
private ApiClient localVarApiClient;
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 4922fb5663..1b465b2b48 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AuthorizationApi {
private ApiClient localVarApiClient;
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 11706f3798..8ed96109c5 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
@@ -37,7 +37,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AuthorizationV1Api {
private ApiClient localVarApiClient;
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 bff3d3fdfa..fa11861915 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AutoscalingApi {
private ApiClient localVarApiClient;
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 ea68e2e0c3..53d6cb6080 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AutoscalingV1Api {
private ApiClient localVarApiClient;
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 0b21e682dc..9ab942f1f5 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class AutoscalingV2Api {
private ApiClient localVarApiClient;
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 f78a845539..714eb18ca7 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class BatchApi {
private ApiClient localVarApiClient;
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 202e5378e1..50a09b0fae 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
@@ -40,7 +40,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class BatchV1Api {
private ApiClient localVarApiClient;
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 6baed45ef5..acd53a9d2f 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CertificatesApi {
private ApiClient localVarApiClient;
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 29bf5cd590..b7551ce22d 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CertificatesV1Api {
private ApiClient localVarApiClient;
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 113227d450..4a8bf32313 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CertificatesV1alpha1Api {
private ApiClient localVarApiClient;
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 4a1626d59e..a83c8c5015 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CoordinationApi {
private ApiClient localVarApiClient;
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 af52be53c1..b698879c07 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CoordinationV1Api {
private ApiClient localVarApiClient;
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 882a7b0618..578b022566 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CoreApi {
private ApiClient localVarApiClient;
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 87057b79cf..9bfde77194 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
@@ -72,7 +72,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CoreV1Api {
private ApiClient localVarApiClient;
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 a2c3486d49..73b5c21313 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
@@ -34,7 +34,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class CustomObjectsApi {
private ApiClient localVarApiClient;
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 1b684eca6d..b22c024741 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class DiscoveryApi {
private ApiClient localVarApiClient;
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 285a1bd13c..4a9cdd8eb7 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class DiscoveryV1Api {
private ApiClient localVarApiClient;
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 1bcbfd3156..e9a0bd40d6 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class EventsApi {
private ApiClient localVarApiClient;
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 2ae18d992d..73aac41f3e 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class EventsV1Api {
private ApiClient localVarApiClient;
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 83258eb9eb..f5d43d4658 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class FlowcontrolApiserverApi {
private ApiClient localVarApiClient;
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 19d19dd052..96995d400b 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
@@ -40,7 +40,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class FlowcontrolApiserverV1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java
index e6663ab7f6..38660916b7 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/FlowcontrolApiserverV1beta3Api.java
@@ -40,7 +40,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class FlowcontrolApiserverV1beta3Api {
private ApiClient localVarApiClient;
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 4dfb381928..b49d133ddf 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class InternalApiserverApi {
private ApiClient localVarApiClient;
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 89cdace762..d817a3bd78 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class InternalApiserverV1alpha1Api {
private ApiClient localVarApiClient;
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 f19ad8bbd5..dbf44dffdf 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
@@ -32,7 +32,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class LogsApi {
private ApiClient localVarApiClient;
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 6d6a858e78..2aaf9dd0bd 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class NetworkingApi {
private ApiClient localVarApiClient;
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 c1dc135212..6f8d567780 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
@@ -42,7 +42,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class NetworkingV1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1alpha1Api.java
index 5b0933478d..c615a0b8cf 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1alpha1Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/NetworkingV1alpha1Api.java
@@ -40,7 +40,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class NetworkingV1alpha1Api {
private ApiClient localVarApiClient;
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 d458d9720a..92b58f6975 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class NodeApi {
private ApiClient localVarApiClient;
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 a4dfc80149..97b380973c 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class NodeV1Api {
private ApiClient localVarApiClient;
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 08e3840da2..d04b085579 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
@@ -32,7 +32,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class OpenidApi {
private ApiClient localVarApiClient;
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 38016f5e9e..6b09af4cbf 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class PolicyApi {
private ApiClient localVarApiClient;
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 f8622987f2..b95d365c64 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class PolicyV1Api {
private ApiClient localVarApiClient;
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 2da78bf293..99a39fafc4 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class RbacAuthorizationApi {
private ApiClient localVarApiClient;
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 5674c98ee3..989991cd5f 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
@@ -44,7 +44,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class RbacAuthorizationV1Api {
private ApiClient localVarApiClient;
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 19de342efd..2812c7afdb 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ResourceApi {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha2Api.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha2Api.java
index 462625603c..baeb25720b 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha2Api.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/ResourceV1alpha2Api.java
@@ -50,7 +50,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class ResourceV1alpha2Api {
private ApiClient localVarApiClient;
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 708aa1d890..2a3519df6c 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class SchedulingApi {
private ApiClient localVarApiClient;
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 5164cb0f1b..a83565723c 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class SchedulingV1Api {
private ApiClient localVarApiClient;
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 8868ee292a..5da3efe305 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class StorageApi {
private ApiClient localVarApiClient;
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 b05b20b9fa..eb916ec499 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
@@ -46,7 +46,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class StorageV1Api {
private ApiClient localVarApiClient;
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 b1136040df..989a18ea47 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class StorageV1alpha1Api {
private ApiClient localVarApiClient;
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 e2051f9320..c6faf4d3ba 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
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class StoragemigrationApi {
private ApiClient localVarApiClient;
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 2acf0ceca5..7d3be0f4ce 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
@@ -38,7 +38,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class StoragemigrationV1alpha1Api {
private ApiClient localVarApiClient;
diff --git a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java
index 00f5dba66f..3bffd415fc 100644
--- a/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java
+++ b/kubernetes/src/main/java/io/kubernetes/client/openapi/apis/VersionApi.java
@@ -33,7 +33,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class VersionApi {
private ApiClient localVarApiClient;
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 3cc3bc204e..d3f263f54b 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
@@ -32,7 +32,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
public class WellKnownApi {
private ApiClient localVarApiClient;
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 b2d070b601..24ae9ab830 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
@@ -19,7 +19,7 @@
import java.util.Map;
import java.util.List;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.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/HttpBearerAuth.java b/kubernetes/src/main/java/io/kubernetes/client/openapi/auth/HttpBearerAuth.java
index 5f98c7cd67..2ab61e8baf 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
@@ -16,13 +16,15 @@
import io.kubernetes.client.openapi.Pair;
import java.net.URI;
-import java.util.Map;
import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+import java.util.function.Supplier;
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class HttpBearerAuth implements Authentication {
private final String scheme;
- private String bearerToken;
+ private Supplier tokenSupplier;
public HttpBearerAuth(String scheme) {
this.scheme = scheme;
@@ -34,7 +36,7 @@ public HttpBearerAuth(String scheme) {
* @return The bearer token
*/
public String getBearerToken() {
- return bearerToken;
+ return tokenSupplier.get();
}
/**
@@ -43,12 +45,22 @@ public String getBearerToken() {
* @param bearerToken The bearer token to send in the Authorization header
*/
public void setBearerToken(String bearerToken) {
- this.bearerToken = bearerToken;
+ this.tokenSupplier = () -> bearerToken;
+ }
+
+ /**
+ * Sets the supplier of tokens, which together with the scheme, will be sent as the value of the Authorization header.
+ *
+ * @param tokenSupplier The supplier of bearer tokens to send in the Authorization header
+ */
+ public void setBearerToken(Supplier tokenSupplier) {
+ this.tokenSupplier = tokenSupplier;
}
@Override
public void applyToParams(List queryParams, Map headerParams, Map cookieParams,
String payload, String method, URI uri) throws ApiException {
+ String bearerToken = Optional.ofNullable(tokenSupplier).map(Supplier::get).orElse(null);
if (bearerToken == null) {
return;
}
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 c755ba784b..33ed86397d 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
@@ -16,14 +16,11 @@
import java.util.Objects;
import java.lang.reflect.Type;
import java.util.Map;
-import jakarta.ws.rs.core.GenericType;
-
-//import com.fasterxml.jackson.annotation.JsonValue;
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
@@ -45,7 +42,7 @@ public AbstractOpenApiSchema(String schemaType, Boolean isNullable) {
*
* @return an instance of the actual schema/object
*/
- public abstract Map getSchemas();
+ public abstract Map> getSchemas();
/**
* Get the actual instance
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 9e298e4f81..9b205cd6f8 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class AdmissionregistrationV1ServiceReference {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -71,7 +70,6 @@ public AdmissionregistrationV1ServiceReference() {
}
public AdmissionregistrationV1ServiceReference name(String name) {
-
this.name = name;
return this;
}
@@ -85,14 +83,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public AdmissionregistrationV1ServiceReference namespace(String namespace) {
-
this.namespace = namespace;
return this;
}
@@ -106,14 +102,12 @@ public String getNamespace() {
return namespace;
}
-
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public AdmissionregistrationV1ServiceReference path(String path) {
-
this.path = path;
return this;
}
@@ -127,14 +121,12 @@ public String getPath() {
return path;
}
-
public void setPath(String path) {
this.path = path;
}
public AdmissionregistrationV1ServiceReference port(Integer port) {
-
this.port = port;
return this;
}
@@ -148,7 +140,6 @@ public Integer getPort() {
return port;
}
-
public void setPort(Integer port) {
this.port = port;
}
@@ -217,32 +208,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to AdmissionregistrationV1ServiceReference
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to AdmissionregistrationV1ServiceReference
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!AdmissionregistrationV1ServiceReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!AdmissionregistrationV1ServiceReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in AdmissionregistrationV1ServiceReference is not found in the empty JSON string", AdmissionregistrationV1ServiceReference.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!AdmissionregistrationV1ServiceReference.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AdmissionregistrationV1ServiceReference` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AdmissionregistrationV1ServiceReference` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AdmissionregistrationV1ServiceReference.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("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()));
}
@@ -274,9 +266,9 @@ public void write(JsonWriter out, AdmissionregistrationV1ServiceReference value)
@Override
public AdmissionregistrationV1ServiceReference read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 51099f6b8e..5651d4c4b1 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.AdmissionregistrationV1ServiceReference;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -42,7 +42,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -50,7 +49,7 @@
/**
* WebhookClientConfig contains the information to make a TLS connection with the webhook
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class AdmissionregistrationV1WebhookClientConfig {
public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle";
@SerializedName(SERIALIZED_NAME_CA_BUNDLE)
@@ -68,7 +67,6 @@ public AdmissionregistrationV1WebhookClientConfig() {
}
public AdmissionregistrationV1WebhookClientConfig caBundle(byte[] caBundle) {
-
this.caBundle = caBundle;
return this;
}
@@ -82,14 +80,12 @@ public byte[] getCaBundle() {
return caBundle;
}
-
public void setCaBundle(byte[] caBundle) {
this.caBundle = caBundle;
}
public AdmissionregistrationV1WebhookClientConfig service(AdmissionregistrationV1ServiceReference service) {
-
this.service = service;
return this;
}
@@ -103,14 +99,12 @@ public AdmissionregistrationV1ServiceReference getService() {
return service;
}
-
public void setService(AdmissionregistrationV1ServiceReference service) {
this.service = service;
}
public AdmissionregistrationV1WebhookClientConfig url(String url) {
-
this.url = url;
return this;
}
@@ -124,7 +118,6 @@ public String getUrl() {
return url;
}
-
public void setUrl(String url) {
this.url = url;
}
@@ -188,28 +181,29 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to AdmissionregistrationV1WebhookClientConfig
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to AdmissionregistrationV1WebhookClientConfig
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!AdmissionregistrationV1WebhookClientConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!AdmissionregistrationV1WebhookClientConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in AdmissionregistrationV1WebhookClientConfig is not found in the empty JSON string", AdmissionregistrationV1WebhookClientConfig.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!AdmissionregistrationV1WebhookClientConfig.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AdmissionregistrationV1WebhookClientConfig` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AdmissionregistrationV1WebhookClientConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
// validate the optional field `service`
if (jsonObj.get("service") != null && !jsonObj.get("service").isJsonNull()) {
- AdmissionregistrationV1ServiceReference.validateJsonObject(jsonObj.getAsJsonObject("service"));
+ AdmissionregistrationV1ServiceReference.validateJsonElement(jsonObj.get("service"));
}
if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull()) && !jsonObj.get("url").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString()));
@@ -236,9 +230,9 @@ public void write(JsonWriter out, AdmissionregistrationV1WebhookClientConfig val
@Override
public AdmissionregistrationV1WebhookClientConfig read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 de5dd51de7..88bb6e9747 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiextensionsV1ServiceReference {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -71,7 +70,6 @@ public ApiextensionsV1ServiceReference() {
}
public ApiextensionsV1ServiceReference name(String name) {
-
this.name = name;
return this;
}
@@ -85,14 +83,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public ApiextensionsV1ServiceReference namespace(String namespace) {
-
this.namespace = namespace;
return this;
}
@@ -106,14 +102,12 @@ public String getNamespace() {
return namespace;
}
-
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public ApiextensionsV1ServiceReference path(String path) {
-
this.path = path;
return this;
}
@@ -127,14 +121,12 @@ public String getPath() {
return path;
}
-
public void setPath(String path) {
this.path = path;
}
public ApiextensionsV1ServiceReference port(Integer port) {
-
this.port = port;
return this;
}
@@ -148,7 +140,6 @@ public Integer getPort() {
return port;
}
-
public void setPort(Integer port) {
this.port = port;
}
@@ -217,32 +208,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to ApiextensionsV1ServiceReference
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiextensionsV1ServiceReference
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!ApiextensionsV1ServiceReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!ApiextensionsV1ServiceReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in ApiextensionsV1ServiceReference is not found in the empty JSON string", ApiextensionsV1ServiceReference.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!ApiextensionsV1ServiceReference.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ApiextensionsV1ServiceReference` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ApiextensionsV1ServiceReference` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : ApiextensionsV1ServiceReference.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("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()));
}
@@ -274,9 +266,9 @@ public void write(JsonWriter out, ApiextensionsV1ServiceReference value) throws
@Override
public ApiextensionsV1ServiceReference read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 fe5af7f19c..8e5110d044 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.ApiextensionsV1ServiceReference;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -42,7 +42,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -50,7 +49,7 @@
/**
* WebhookClientConfig contains the information to make a TLS connection with the webhook.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiextensionsV1WebhookClientConfig {
public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle";
@SerializedName(SERIALIZED_NAME_CA_BUNDLE)
@@ -68,7 +67,6 @@ public ApiextensionsV1WebhookClientConfig() {
}
public ApiextensionsV1WebhookClientConfig caBundle(byte[] caBundle) {
-
this.caBundle = caBundle;
return this;
}
@@ -82,14 +80,12 @@ public byte[] getCaBundle() {
return caBundle;
}
-
public void setCaBundle(byte[] caBundle) {
this.caBundle = caBundle;
}
public ApiextensionsV1WebhookClientConfig service(ApiextensionsV1ServiceReference service) {
-
this.service = service;
return this;
}
@@ -103,14 +99,12 @@ public ApiextensionsV1ServiceReference getService() {
return service;
}
-
public void setService(ApiextensionsV1ServiceReference service) {
this.service = service;
}
public ApiextensionsV1WebhookClientConfig url(String url) {
-
this.url = url;
return this;
}
@@ -124,7 +118,6 @@ public String getUrl() {
return url;
}
-
public void setUrl(String url) {
this.url = url;
}
@@ -188,28 +181,29 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to ApiextensionsV1WebhookClientConfig
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiextensionsV1WebhookClientConfig
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!ApiextensionsV1WebhookClientConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!ApiextensionsV1WebhookClientConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in ApiextensionsV1WebhookClientConfig is not found in the empty JSON string", ApiextensionsV1WebhookClientConfig.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!ApiextensionsV1WebhookClientConfig.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ApiextensionsV1WebhookClientConfig` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ApiextensionsV1WebhookClientConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
// validate the optional field `service`
if (jsonObj.get("service") != null && !jsonObj.get("service").isJsonNull()) {
- ApiextensionsV1ServiceReference.validateJsonObject(jsonObj.getAsJsonObject("service"));
+ ApiextensionsV1ServiceReference.validateJsonElement(jsonObj.get("service"));
}
if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull()) && !jsonObj.get("url").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString()));
@@ -236,9 +230,9 @@ public void write(JsonWriter out, ApiextensionsV1WebhookClientConfig value) thro
@Override
public ApiextensionsV1WebhookClientConfig read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 84638e323a..b373356beb 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* ServiceReference holds a reference to Service.legacy.k8s.io
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiregistrationV1ServiceReference {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -67,7 +66,6 @@ public ApiregistrationV1ServiceReference() {
}
public ApiregistrationV1ServiceReference name(String name) {
-
this.name = name;
return this;
}
@@ -81,14 +79,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public ApiregistrationV1ServiceReference namespace(String namespace) {
-
this.namespace = namespace;
return this;
}
@@ -102,14 +98,12 @@ public String getNamespace() {
return namespace;
}
-
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public ApiregistrationV1ServiceReference port(Integer port) {
-
this.port = port;
return this;
}
@@ -123,7 +117,6 @@ public Integer getPort() {
return port;
}
-
public void setPort(Integer port) {
this.port = port;
}
@@ -187,25 +180,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to ApiregistrationV1ServiceReference
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to ApiregistrationV1ServiceReference
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!ApiregistrationV1ServiceReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!ApiregistrationV1ServiceReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in ApiregistrationV1ServiceReference is not found in the empty JSON string", ApiregistrationV1ServiceReference.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!ApiregistrationV1ServiceReference.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ApiregistrationV1ServiceReference` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ApiregistrationV1ServiceReference` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !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()));
}
@@ -234,9 +228,9 @@ public void write(JsonWriter out, ApiregistrationV1ServiceReference value) throw
@Override
public ApiregistrationV1ServiceReference read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 3ec74e43b7..8aeba407a1 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1TokenRequestSpec;
import io.kubernetes.client.openapi.models.V1TokenRequestStatus;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,7 @@
/**
* TokenRequest requests a token for a given service account.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class AuthenticationV1TokenRequest implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -78,7 +77,6 @@ public AuthenticationV1TokenRequest() {
}
public AuthenticationV1TokenRequest apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -92,14 +90,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public AuthenticationV1TokenRequest kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -113,14 +109,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public AuthenticationV1TokenRequest metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -134,14 +128,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public AuthenticationV1TokenRequest spec(V1TokenRequestSpec spec) {
-
this.spec = spec;
return this;
}
@@ -155,14 +147,12 @@ public V1TokenRequestSpec getSpec() {
return spec;
}
-
public void setSpec(V1TokenRequestSpec spec) {
this.spec = spec;
}
public AuthenticationV1TokenRequest status(V1TokenRequestStatus status) {
-
this.status = status;
return this;
}
@@ -176,7 +166,6 @@ public V1TokenRequestStatus getStatus() {
return status;
}
-
public void setStatus(V1TokenRequestStatus status) {
this.status = status;
}
@@ -247,32 +236,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to AuthenticationV1TokenRequest
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to AuthenticationV1TokenRequest
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!AuthenticationV1TokenRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!AuthenticationV1TokenRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in AuthenticationV1TokenRequest is not found in the empty JSON string", AuthenticationV1TokenRequest.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!AuthenticationV1TokenRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AuthenticationV1TokenRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `AuthenticationV1TokenRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : AuthenticationV1TokenRequest.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -281,13 +271,13 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `metadata`
if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) {
- V1ObjectMeta.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
}
// validate the required field `spec`
- V1TokenRequestSpec.validateJsonObject(jsonObj.getAsJsonObject("spec"));
+ V1TokenRequestSpec.validateJsonElement(jsonObj.get("spec"));
// validate the optional field `status`
if (jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) {
- V1TokenRequestStatus.validateJsonObject(jsonObj.getAsJsonObject("status"));
+ V1TokenRequestStatus.validateJsonElement(jsonObj.get("status"));
}
}
@@ -311,9 +301,9 @@ public void write(JsonWriter out, AuthenticationV1TokenRequest value) throws IOE
@Override
public AuthenticationV1TokenRequest read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 ead34e1264..e1315421a1 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* EndpointPort is a tuple that describes a single port.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1EndpointPort {
public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol";
@SerializedName(SERIALIZED_NAME_APP_PROTOCOL)
@@ -71,7 +70,6 @@ public CoreV1EndpointPort() {
}
public CoreV1EndpointPort appProtocol(String appProtocol) {
-
this.appProtocol = appProtocol;
return this;
}
@@ -85,14 +83,12 @@ public String getAppProtocol() {
return appProtocol;
}
-
public void setAppProtocol(String appProtocol) {
this.appProtocol = appProtocol;
}
public CoreV1EndpointPort name(String name) {
-
this.name = name;
return this;
}
@@ -106,14 +102,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public CoreV1EndpointPort port(Integer port) {
-
this.port = port;
return this;
}
@@ -127,14 +121,12 @@ public Integer getPort() {
return port;
}
-
public void setPort(Integer port) {
this.port = port;
}
public CoreV1EndpointPort protocol(String protocol) {
-
this.protocol = protocol;
return this;
}
@@ -148,7 +140,6 @@ public String getProtocol() {
return protocol;
}
-
public void setProtocol(String protocol) {
this.protocol = protocol;
}
@@ -216,32 +207,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to CoreV1EndpointPort
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to CoreV1EndpointPort
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!CoreV1EndpointPort.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!CoreV1EndpointPort.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in CoreV1EndpointPort is not found in the empty JSON string", CoreV1EndpointPort.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!CoreV1EndpointPort.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1EndpointPort` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1EndpointPort` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : CoreV1EndpointPort.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("appProtocol") != null && !jsonObj.get("appProtocol").isJsonNull()) && !jsonObj.get("appProtocol").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `appProtocol` to be a primitive type in the JSON string but got `%s`", jsonObj.get("appProtocol").toString()));
}
@@ -273,9 +265,9 @@ public void write(JsonWriter out, CoreV1EndpointPort value) throws IOException {
@Override
public CoreV1EndpointPort read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 4c70dbbc16..8785cffc00 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -25,6 +24,7 @@
import io.kubernetes.client.openapi.models.V1ObjectReference;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -46,7 +46,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -54,7 +53,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1Event implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_ACTION = "action";
@SerializedName(SERIALIZED_NAME_ACTION)
@@ -128,7 +127,6 @@ public CoreV1Event() {
}
public CoreV1Event action(String action) {
-
this.action = action;
return this;
}
@@ -142,14 +140,12 @@ public String getAction() {
return action;
}
-
public void setAction(String action) {
this.action = action;
}
public CoreV1Event apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -163,14 +159,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public CoreV1Event count(Integer count) {
-
this.count = count;
return this;
}
@@ -184,14 +178,12 @@ public Integer getCount() {
return count;
}
-
public void setCount(Integer count) {
this.count = count;
}
public CoreV1Event eventTime(OffsetDateTime eventTime) {
-
this.eventTime = eventTime;
return this;
}
@@ -205,14 +197,12 @@ public OffsetDateTime getEventTime() {
return eventTime;
}
-
public void setEventTime(OffsetDateTime eventTime) {
this.eventTime = eventTime;
}
public CoreV1Event firstTimestamp(OffsetDateTime firstTimestamp) {
-
this.firstTimestamp = firstTimestamp;
return this;
}
@@ -226,14 +216,12 @@ public OffsetDateTime getFirstTimestamp() {
return firstTimestamp;
}
-
public void setFirstTimestamp(OffsetDateTime firstTimestamp) {
this.firstTimestamp = firstTimestamp;
}
public CoreV1Event involvedObject(V1ObjectReference involvedObject) {
-
this.involvedObject = involvedObject;
return this;
}
@@ -247,14 +235,12 @@ public V1ObjectReference getInvolvedObject() {
return involvedObject;
}
-
public void setInvolvedObject(V1ObjectReference involvedObject) {
this.involvedObject = involvedObject;
}
public CoreV1Event kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -268,14 +254,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public CoreV1Event lastTimestamp(OffsetDateTime lastTimestamp) {
-
this.lastTimestamp = lastTimestamp;
return this;
}
@@ -289,14 +273,12 @@ public OffsetDateTime getLastTimestamp() {
return lastTimestamp;
}
-
public void setLastTimestamp(OffsetDateTime lastTimestamp) {
this.lastTimestamp = lastTimestamp;
}
public CoreV1Event message(String message) {
-
this.message = message;
return this;
}
@@ -310,14 +292,12 @@ public String getMessage() {
return message;
}
-
public void setMessage(String message) {
this.message = message;
}
public CoreV1Event metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -331,14 +311,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public CoreV1Event reason(String reason) {
-
this.reason = reason;
return this;
}
@@ -352,14 +330,12 @@ public String getReason() {
return reason;
}
-
public void setReason(String reason) {
this.reason = reason;
}
public CoreV1Event related(V1ObjectReference related) {
-
this.related = related;
return this;
}
@@ -373,14 +349,12 @@ public V1ObjectReference getRelated() {
return related;
}
-
public void setRelated(V1ObjectReference related) {
this.related = related;
}
public CoreV1Event reportingComponent(String reportingComponent) {
-
this.reportingComponent = reportingComponent;
return this;
}
@@ -394,14 +368,12 @@ public String getReportingComponent() {
return reportingComponent;
}
-
public void setReportingComponent(String reportingComponent) {
this.reportingComponent = reportingComponent;
}
public CoreV1Event reportingInstance(String reportingInstance) {
-
this.reportingInstance = reportingInstance;
return this;
}
@@ -415,14 +387,12 @@ public String getReportingInstance() {
return reportingInstance;
}
-
public void setReportingInstance(String reportingInstance) {
this.reportingInstance = reportingInstance;
}
public CoreV1Event series(CoreV1EventSeries series) {
-
this.series = series;
return this;
}
@@ -436,14 +406,12 @@ public CoreV1EventSeries getSeries() {
return series;
}
-
public void setSeries(CoreV1EventSeries series) {
this.series = series;
}
public CoreV1Event source(V1EventSource source) {
-
this.source = source;
return this;
}
@@ -457,14 +425,12 @@ public V1EventSource getSource() {
return source;
}
-
public void setSource(V1EventSource source) {
this.source = source;
}
public CoreV1Event type(String type) {
-
this.type = type;
return this;
}
@@ -478,7 +444,6 @@ public String getType() {
return type;
}
-
public void setType(String type) {
this.type = type;
}
@@ -586,32 +551,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to CoreV1Event
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to CoreV1Event
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!CoreV1Event.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!CoreV1Event.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in CoreV1Event is not found in the empty JSON string", CoreV1Event.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!CoreV1Event.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1Event` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1Event` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : CoreV1Event.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("action") != null && !jsonObj.get("action").isJsonNull()) && !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()));
}
@@ -619,7 +585,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
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()));
}
// validate the required field `involvedObject`
- V1ObjectReference.validateJsonObject(jsonObj.getAsJsonObject("involvedObject"));
+ V1ObjectReference.validateJsonElement(jsonObj.get("involvedObject"));
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()));
}
@@ -627,13 +593,13 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
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()));
}
// validate the required field `metadata`
- V1ObjectMeta.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
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()));
}
// validate the optional field `related`
if (jsonObj.get("related") != null && !jsonObj.get("related").isJsonNull()) {
- V1ObjectReference.validateJsonObject(jsonObj.getAsJsonObject("related"));
+ V1ObjectReference.validateJsonElement(jsonObj.get("related"));
}
if ((jsonObj.get("reportingComponent") != null && !jsonObj.get("reportingComponent").isJsonNull()) && !jsonObj.get("reportingComponent").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `reportingComponent` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reportingComponent").toString()));
@@ -643,11 +609,11 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `series`
if (jsonObj.get("series") != null && !jsonObj.get("series").isJsonNull()) {
- CoreV1EventSeries.validateJsonObject(jsonObj.getAsJsonObject("series"));
+ CoreV1EventSeries.validateJsonElement(jsonObj.get("series"));
}
// validate the optional field `source`
if (jsonObj.get("source") != null && !jsonObj.get("source").isJsonNull()) {
- V1EventSource.validateJsonObject(jsonObj.getAsJsonObject("source"));
+ V1EventSource.validateJsonElement(jsonObj.get("source"));
}
if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString()));
@@ -674,9 +640,9 @@ public void write(JsonWriter out, CoreV1Event value) throws IOException {
@Override
public CoreV1Event read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 5c12736b50..eb43c99d1e 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ListMeta;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -45,7 +45,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -53,7 +52,7 @@
/**
* EventList is a list of events.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1EventList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -75,7 +74,6 @@ public CoreV1EventList() {
}
public CoreV1EventList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -89,14 +87,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public CoreV1EventList items(List items) {
-
this.items = items;
return this;
}
@@ -118,14 +114,12 @@ public List getItems() {
return items;
}
-
public void setItems(List items) {
this.items = items;
}
public CoreV1EventList kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -139,14 +133,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public CoreV1EventList metadata(V1ListMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -160,7 +152,6 @@ public V1ListMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ListMeta metadata) {
this.metadata = metadata;
}
@@ -228,32 +219,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to CoreV1EventList
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to CoreV1EventList
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!CoreV1EventList.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!CoreV1EventList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in CoreV1EventList is not found in the empty JSON string", CoreV1EventList.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!CoreV1EventList.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1EventList` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1EventList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : CoreV1EventList.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -265,14 +257,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items");
// validate the required field `items` (array)
for (int i = 0; i < jsonArrayitems.size(); i++) {
- CoreV1Event.validateJsonObject(jsonArrayitems.get(i).getAsJsonObject());
+ CoreV1Event.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.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ListMeta.validateJsonElement(jsonObj.get("metadata"));
}
}
@@ -296,9 +288,9 @@ public void write(JsonWriter out, CoreV1EventList value) throws IOException {
@Override
public CoreV1EventList read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 31a25dbe23..71c0f09bbf 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -42,7 +42,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -50,7 +49,7 @@
/**
* 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 = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class CoreV1EventSeries {
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
@@ -64,7 +63,6 @@ public CoreV1EventSeries() {
}
public CoreV1EventSeries count(Integer count) {
-
this.count = count;
return this;
}
@@ -78,14 +76,12 @@ public Integer getCount() {
return count;
}
-
public void setCount(Integer count) {
this.count = count;
}
public CoreV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) {
-
this.lastObservedTime = lastObservedTime;
return this;
}
@@ -99,7 +95,6 @@ public OffsetDateTime getLastObservedTime() {
return lastObservedTime;
}
-
public void setLastObservedTime(OffsetDateTime lastObservedTime) {
this.lastObservedTime = lastObservedTime;
}
@@ -160,25 +155,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to CoreV1EventSeries
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to CoreV1EventSeries
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!CoreV1EventSeries.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!CoreV1EventSeries.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in CoreV1EventSeries is not found in the empty JSON string", CoreV1EventSeries.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!CoreV1EventSeries.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1EventSeries` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `CoreV1EventSeries` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
}
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
@@ -201,9 +197,9 @@ public void write(JsonWriter out, CoreV1EventSeries value) throws IOException {
@Override
public CoreV1EventSeries read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 5dd6543429..82a6cc709d 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* EndpointPort represents a Port used by an EndpointSlice
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class DiscoveryV1EndpointPort {
public static final String SERIALIZED_NAME_APP_PROTOCOL = "appProtocol";
@SerializedName(SERIALIZED_NAME_APP_PROTOCOL)
@@ -71,7 +70,6 @@ public DiscoveryV1EndpointPort() {
}
public DiscoveryV1EndpointPort appProtocol(String appProtocol) {
-
this.appProtocol = appProtocol;
return this;
}
@@ -85,14 +83,12 @@ public String getAppProtocol() {
return appProtocol;
}
-
public void setAppProtocol(String appProtocol) {
this.appProtocol = appProtocol;
}
public DiscoveryV1EndpointPort name(String name) {
-
this.name = name;
return this;
}
@@ -106,14 +102,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public DiscoveryV1EndpointPort port(Integer port) {
-
this.port = port;
return this;
}
@@ -127,14 +121,12 @@ public Integer getPort() {
return port;
}
-
public void setPort(Integer port) {
this.port = port;
}
public DiscoveryV1EndpointPort protocol(String protocol) {
-
this.protocol = protocol;
return this;
}
@@ -148,7 +140,6 @@ public String getProtocol() {
return protocol;
}
-
public void setProtocol(String protocol) {
this.protocol = protocol;
}
@@ -215,25 +206,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to DiscoveryV1EndpointPort
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to DiscoveryV1EndpointPort
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!DiscoveryV1EndpointPort.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!DiscoveryV1EndpointPort.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in DiscoveryV1EndpointPort is not found in the empty JSON string", DiscoveryV1EndpointPort.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!DiscoveryV1EndpointPort.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DiscoveryV1EndpointPort` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `DiscoveryV1EndpointPort` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("appProtocol") != null && !jsonObj.get("appProtocol").isJsonNull()) && !jsonObj.get("appProtocol").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `appProtocol` to be a primitive type in the JSON string but got `%s`", jsonObj.get("appProtocol").toString()));
}
@@ -265,9 +257,9 @@ public void write(JsonWriter out, DiscoveryV1EndpointPort value) throws IOExcept
@Override
public DiscoveryV1EndpointPort read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 4e5367e41d..97f3368de4 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -25,6 +24,7 @@
import io.kubernetes.client.openapi.models.V1ObjectReference;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -46,7 +46,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -54,7 +53,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class EventsV1Event implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_ACTION = "action";
@SerializedName(SERIALIZED_NAME_ACTION)
@@ -128,7 +127,6 @@ public EventsV1Event() {
}
public EventsV1Event action(String action) {
-
this.action = action;
return this;
}
@@ -142,14 +140,12 @@ public String getAction() {
return action;
}
-
public void setAction(String action) {
this.action = action;
}
public EventsV1Event apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -163,14 +159,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public EventsV1Event deprecatedCount(Integer deprecatedCount) {
-
this.deprecatedCount = deprecatedCount;
return this;
}
@@ -184,14 +178,12 @@ public Integer getDeprecatedCount() {
return deprecatedCount;
}
-
public void setDeprecatedCount(Integer deprecatedCount) {
this.deprecatedCount = deprecatedCount;
}
public EventsV1Event deprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp) {
-
this.deprecatedFirstTimestamp = deprecatedFirstTimestamp;
return this;
}
@@ -205,14 +197,12 @@ public OffsetDateTime getDeprecatedFirstTimestamp() {
return deprecatedFirstTimestamp;
}
-
public void setDeprecatedFirstTimestamp(OffsetDateTime deprecatedFirstTimestamp) {
this.deprecatedFirstTimestamp = deprecatedFirstTimestamp;
}
public EventsV1Event deprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp) {
-
this.deprecatedLastTimestamp = deprecatedLastTimestamp;
return this;
}
@@ -226,14 +216,12 @@ public OffsetDateTime getDeprecatedLastTimestamp() {
return deprecatedLastTimestamp;
}
-
public void setDeprecatedLastTimestamp(OffsetDateTime deprecatedLastTimestamp) {
this.deprecatedLastTimestamp = deprecatedLastTimestamp;
}
public EventsV1Event deprecatedSource(V1EventSource deprecatedSource) {
-
this.deprecatedSource = deprecatedSource;
return this;
}
@@ -247,14 +235,12 @@ public V1EventSource getDeprecatedSource() {
return deprecatedSource;
}
-
public void setDeprecatedSource(V1EventSource deprecatedSource) {
this.deprecatedSource = deprecatedSource;
}
public EventsV1Event eventTime(OffsetDateTime eventTime) {
-
this.eventTime = eventTime;
return this;
}
@@ -268,14 +254,12 @@ public OffsetDateTime getEventTime() {
return eventTime;
}
-
public void setEventTime(OffsetDateTime eventTime) {
this.eventTime = eventTime;
}
public EventsV1Event kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -289,14 +273,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public EventsV1Event metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -310,14 +292,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public EventsV1Event note(String note) {
-
this.note = note;
return this;
}
@@ -331,14 +311,12 @@ public String getNote() {
return note;
}
-
public void setNote(String note) {
this.note = note;
}
public EventsV1Event reason(String reason) {
-
this.reason = reason;
return this;
}
@@ -352,14 +330,12 @@ public String getReason() {
return reason;
}
-
public void setReason(String reason) {
this.reason = reason;
}
public EventsV1Event regarding(V1ObjectReference regarding) {
-
this.regarding = regarding;
return this;
}
@@ -373,14 +349,12 @@ public V1ObjectReference getRegarding() {
return regarding;
}
-
public void setRegarding(V1ObjectReference regarding) {
this.regarding = regarding;
}
public EventsV1Event related(V1ObjectReference related) {
-
this.related = related;
return this;
}
@@ -394,14 +368,12 @@ public V1ObjectReference getRelated() {
return related;
}
-
public void setRelated(V1ObjectReference related) {
this.related = related;
}
public EventsV1Event reportingController(String reportingController) {
-
this.reportingController = reportingController;
return this;
}
@@ -415,14 +387,12 @@ public String getReportingController() {
return reportingController;
}
-
public void setReportingController(String reportingController) {
this.reportingController = reportingController;
}
public EventsV1Event reportingInstance(String reportingInstance) {
-
this.reportingInstance = reportingInstance;
return this;
}
@@ -436,14 +406,12 @@ public String getReportingInstance() {
return reportingInstance;
}
-
public void setReportingInstance(String reportingInstance) {
this.reportingInstance = reportingInstance;
}
public EventsV1Event series(EventsV1EventSeries series) {
-
this.series = series;
return this;
}
@@ -457,14 +425,12 @@ public EventsV1EventSeries getSeries() {
return series;
}
-
public void setSeries(EventsV1EventSeries series) {
this.series = series;
}
public EventsV1Event type(String type) {
-
this.type = type;
return this;
}
@@ -478,7 +444,6 @@ public String getType() {
return type;
}
-
public void setType(String type) {
this.type = type;
}
@@ -585,32 +550,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to EventsV1Event
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to EventsV1Event
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!EventsV1Event.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!EventsV1Event.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in EventsV1Event is not found in the empty JSON string", EventsV1Event.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!EventsV1Event.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EventsV1Event` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EventsV1Event` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : EventsV1Event.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("action") != null && !jsonObj.get("action").isJsonNull()) && !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()));
}
@@ -619,14 +585,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `deprecatedSource`
if (jsonObj.get("deprecatedSource") != null && !jsonObj.get("deprecatedSource").isJsonNull()) {
- V1EventSource.validateJsonObject(jsonObj.getAsJsonObject("deprecatedSource"));
+ V1EventSource.validateJsonElement(jsonObj.get("deprecatedSource"));
}
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.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
}
if ((jsonObj.get("note") != null && !jsonObj.get("note").isJsonNull()) && !jsonObj.get("note").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `note` to be a primitive type in the JSON string but got `%s`", jsonObj.get("note").toString()));
@@ -636,11 +602,11 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `regarding`
if (jsonObj.get("regarding") != null && !jsonObj.get("regarding").isJsonNull()) {
- V1ObjectReference.validateJsonObject(jsonObj.getAsJsonObject("regarding"));
+ V1ObjectReference.validateJsonElement(jsonObj.get("regarding"));
}
// validate the optional field `related`
if (jsonObj.get("related") != null && !jsonObj.get("related").isJsonNull()) {
- V1ObjectReference.validateJsonObject(jsonObj.getAsJsonObject("related"));
+ V1ObjectReference.validateJsonElement(jsonObj.get("related"));
}
if ((jsonObj.get("reportingController") != null && !jsonObj.get("reportingController").isJsonNull()) && !jsonObj.get("reportingController").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `reportingController` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reportingController").toString()));
@@ -650,7 +616,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `series`
if (jsonObj.get("series") != null && !jsonObj.get("series").isJsonNull()) {
- EventsV1EventSeries.validateJsonObject(jsonObj.getAsJsonObject("series"));
+ EventsV1EventSeries.validateJsonElement(jsonObj.get("series"));
}
if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString()));
@@ -677,9 +643,9 @@ public void write(JsonWriter out, EventsV1Event value) throws IOException {
@Override
public EventsV1Event read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 6c022b452c..0e659c762f 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ListMeta;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -45,7 +45,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -53,7 +52,7 @@
/**
* EventList is a list of Event objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class EventsV1EventList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -75,7 +74,6 @@ public EventsV1EventList() {
}
public EventsV1EventList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -89,14 +87,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public EventsV1EventList items(List items) {
-
this.items = items;
return this;
}
@@ -118,14 +114,12 @@ public List getItems() {
return items;
}
-
public void setItems(List items) {
this.items = items;
}
public EventsV1EventList kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -139,14 +133,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public EventsV1EventList metadata(V1ListMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -160,7 +152,6 @@ public V1ListMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ListMeta metadata) {
this.metadata = metadata;
}
@@ -228,32 +219,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to EventsV1EventList
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to EventsV1EventList
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!EventsV1EventList.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!EventsV1EventList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in EventsV1EventList is not found in the empty JSON string", EventsV1EventList.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!EventsV1EventList.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EventsV1EventList` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EventsV1EventList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : EventsV1EventList.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -265,14 +257,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items");
// validate the required field `items` (array)
for (int i = 0; i < jsonArrayitems.size(); i++) {
- EventsV1Event.validateJsonObject(jsonArrayitems.get(i).getAsJsonObject());
+ EventsV1Event.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.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ListMeta.validateJsonElement(jsonObj.get("metadata"));
}
}
@@ -296,9 +288,9 @@ public void write(JsonWriter out, EventsV1EventList value) throws IOException {
@Override
public EventsV1EventList read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 0d845fb555..303f58f180 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -42,7 +42,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -50,7 +49,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class EventsV1EventSeries {
public static final String SERIALIZED_NAME_COUNT = "count";
@SerializedName(SERIALIZED_NAME_COUNT)
@@ -64,7 +63,6 @@ public EventsV1EventSeries() {
}
public EventsV1EventSeries count(Integer count) {
-
this.count = count;
return this;
}
@@ -78,14 +76,12 @@ public Integer getCount() {
return count;
}
-
public void setCount(Integer count) {
this.count = count;
}
public EventsV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime) {
-
this.lastObservedTime = lastObservedTime;
return this;
}
@@ -99,7 +95,6 @@ public OffsetDateTime getLastObservedTime() {
return lastObservedTime;
}
-
public void setLastObservedTime(OffsetDateTime lastObservedTime) {
this.lastObservedTime = lastObservedTime;
}
@@ -162,32 +157,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to EventsV1EventSeries
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to EventsV1EventSeries
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!EventsV1EventSeries.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!EventsV1EventSeries.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in EventsV1EventSeries is not found in the empty JSON string", EventsV1EventSeries.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!EventsV1EventSeries.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EventsV1EventSeries` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `EventsV1EventSeries` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : EventsV1EventSeries.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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();
}
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
@@ -210,9 +206,9 @@ public void write(JsonWriter out, EventsV1EventSeries value) throws IOException
@Override
public EventsV1EventSeries read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 c1a621e230..1aedc89237 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ServiceAccountSubject;
import io.kubernetes.client.openapi.models.V1UserSubject;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class FlowcontrolV1Subject {
public static final String SERIALIZED_NAME_GROUP = "group";
@SerializedName(SERIALIZED_NAME_GROUP)
@@ -74,7 +73,6 @@ public FlowcontrolV1Subject() {
}
public FlowcontrolV1Subject group(V1GroupSubject group) {
-
this.group = group;
return this;
}
@@ -88,14 +86,12 @@ public V1GroupSubject getGroup() {
return group;
}
-
public void setGroup(V1GroupSubject group) {
this.group = group;
}
public FlowcontrolV1Subject kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -109,14 +105,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public FlowcontrolV1Subject serviceAccount(V1ServiceAccountSubject serviceAccount) {
-
this.serviceAccount = serviceAccount;
return this;
}
@@ -130,14 +124,12 @@ public V1ServiceAccountSubject getServiceAccount() {
return serviceAccount;
}
-
public void setServiceAccount(V1ServiceAccountSubject serviceAccount) {
this.serviceAccount = serviceAccount;
}
public FlowcontrolV1Subject user(V1UserSubject user) {
-
this.user = user;
return this;
}
@@ -151,7 +143,6 @@ public V1UserSubject getUser() {
return user;
}
-
public void setUser(V1UserSubject user) {
this.user = user;
}
@@ -219,46 +210,47 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to FlowcontrolV1Subject
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to FlowcontrolV1Subject
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!FlowcontrolV1Subject.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!FlowcontrolV1Subject.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in FlowcontrolV1Subject is not found in the empty JSON string", FlowcontrolV1Subject.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!FlowcontrolV1Subject.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `FlowcontrolV1Subject` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `FlowcontrolV1Subject` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : FlowcontrolV1Subject.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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 `group`
if (jsonObj.get("group") != null && !jsonObj.get("group").isJsonNull()) {
- V1GroupSubject.validateJsonObject(jsonObj.getAsJsonObject("group"));
+ V1GroupSubject.validateJsonElement(jsonObj.get("group"));
}
if (!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 `serviceAccount`
if (jsonObj.get("serviceAccount") != null && !jsonObj.get("serviceAccount").isJsonNull()) {
- V1ServiceAccountSubject.validateJsonObject(jsonObj.getAsJsonObject("serviceAccount"));
+ V1ServiceAccountSubject.validateJsonElement(jsonObj.get("serviceAccount"));
}
// validate the optional field `user`
if (jsonObj.get("user") != null && !jsonObj.get("user").isJsonNull()) {
- V1UserSubject.validateJsonObject(jsonObj.getAsJsonObject("user"));
+ V1UserSubject.validateJsonElement(jsonObj.get("user"));
}
}
@@ -282,9 +274,9 @@ public void write(JsonWriter out, FlowcontrolV1Subject value) throws IOException
@Override
public FlowcontrolV1Subject read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 320fb4feb9..9b5f56f35b 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class RbacV1Subject {
public static final String SERIALIZED_NAME_API_GROUP = "apiGroup";
@SerializedName(SERIALIZED_NAME_API_GROUP)
@@ -71,7 +70,6 @@ public RbacV1Subject() {
}
public RbacV1Subject apiGroup(String apiGroup) {
-
this.apiGroup = apiGroup;
return this;
}
@@ -85,14 +83,12 @@ public String getApiGroup() {
return apiGroup;
}
-
public void setApiGroup(String apiGroup) {
this.apiGroup = apiGroup;
}
public RbacV1Subject kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -106,14 +102,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public RbacV1Subject name(String name) {
-
this.name = name;
return this;
}
@@ -127,14 +121,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public RbacV1Subject namespace(String namespace) {
-
this.namespace = namespace;
return this;
}
@@ -148,7 +140,6 @@ public String getNamespace() {
return namespace;
}
-
public void setNamespace(String namespace) {
this.namespace = namespace;
}
@@ -217,32 +208,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to RbacV1Subject
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to RbacV1Subject
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!RbacV1Subject.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!RbacV1Subject.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in RbacV1Subject is not found in the empty JSON string", RbacV1Subject.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!RbacV1Subject.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RbacV1Subject` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `RbacV1Subject` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : RbacV1Subject.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("apiGroup") != null && !jsonObj.get("apiGroup").isJsonNull()) && !jsonObj.get("apiGroup").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `apiGroup` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiGroup").toString()));
}
@@ -277,9 +269,9 @@ public void write(JsonWriter out, RbacV1Subject value) throws IOException {
@Override
public RbacV1Subject read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 7ab80d3798..e37f5c4d27 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* TokenRequest contains parameters of a service account token.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class StorageV1TokenRequest {
public static final String SERIALIZED_NAME_AUDIENCE = "audience";
@SerializedName(SERIALIZED_NAME_AUDIENCE)
@@ -63,7 +62,6 @@ public StorageV1TokenRequest() {
}
public StorageV1TokenRequest audience(String audience) {
-
this.audience = audience;
return this;
}
@@ -77,14 +75,12 @@ public String getAudience() {
return audience;
}
-
public void setAudience(String audience) {
this.audience = audience;
}
public StorageV1TokenRequest expirationSeconds(Long expirationSeconds) {
-
this.expirationSeconds = expirationSeconds;
return this;
}
@@ -98,7 +94,6 @@ public Long getExpirationSeconds() {
return expirationSeconds;
}
-
public void setExpirationSeconds(Long expirationSeconds) {
this.expirationSeconds = expirationSeconds;
}
@@ -160,32 +155,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to StorageV1TokenRequest
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to StorageV1TokenRequest
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!StorageV1TokenRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!StorageV1TokenRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in StorageV1TokenRequest is not found in the empty JSON string", StorageV1TokenRequest.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!StorageV1TokenRequest.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `StorageV1TokenRequest` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `StorageV1TokenRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : StorageV1TokenRequest.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("audience").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `audience` to be a primitive type in the JSON string but got `%s`", jsonObj.get("audience").toString()));
}
@@ -211,9 +207,9 @@ public void write(JsonWriter out, StorageV1TokenRequest value) throws IOExceptio
@Override
public StorageV1TokenRequest read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 8ff09c3ec2..6122da1bae 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -45,7 +45,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -53,7 +52,7 @@
/**
* APIGroup contains the name, the supported versions, and the preferred version of a group.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIGroup {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -73,7 +72,7 @@ public class V1APIGroup {
public static final String SERIALIZED_NAME_SERVER_ADDRESS_BY_CLIENT_C_I_D_RS = "serverAddressByClientCIDRs";
@SerializedName(SERIALIZED_NAME_SERVER_ADDRESS_BY_CLIENT_C_I_D_RS)
- private List serverAddressByClientCIDRs;
+ private List serverAddressByClientCIDRs = new ArrayList<>();
public static final String SERIALIZED_NAME_VERSIONS = "versions";
@SerializedName(SERIALIZED_NAME_VERSIONS)
@@ -83,7 +82,6 @@ public V1APIGroup() {
}
public V1APIGroup apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -97,14 +95,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1APIGroup kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -118,14 +114,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1APIGroup name(String name) {
-
this.name = name;
return this;
}
@@ -139,14 +133,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public V1APIGroup preferredVersion(V1GroupVersionForDiscovery preferredVersion) {
-
this.preferredVersion = preferredVersion;
return this;
}
@@ -160,14 +152,12 @@ public V1GroupVersionForDiscovery getPreferredVersion() {
return preferredVersion;
}
-
public void setPreferredVersion(V1GroupVersionForDiscovery preferredVersion) {
this.preferredVersion = preferredVersion;
}
public V1APIGroup serverAddressByClientCIDRs(List serverAddressByClientCIDRs) {
-
this.serverAddressByClientCIDRs = serverAddressByClientCIDRs;
return this;
}
@@ -189,14 +179,12 @@ public List getServerAddressByClientCIDRs() {
return serverAddressByClientCIDRs;
}
-
public void setServerAddressByClientCIDRs(List serverAddressByClientCIDRs) {
this.serverAddressByClientCIDRs = serverAddressByClientCIDRs;
}
public V1APIGroup versions(List versions) {
-
this.versions = versions;
return this;
}
@@ -218,7 +206,6 @@ public List getVersions() {
return versions;
}
-
public void setVersions(List versions) {
this.versions = versions;
}
@@ -293,32 +280,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIGroup
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIGroup
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIGroup.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIGroup.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIGroup is not found in the empty JSON string", V1APIGroup.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIGroup.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIGroup` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIGroup.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -330,7 +318,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `preferredVersion`
if (jsonObj.get("preferredVersion") != null && !jsonObj.get("preferredVersion").isJsonNull()) {
- V1GroupVersionForDiscovery.validateJsonObject(jsonObj.getAsJsonObject("preferredVersion"));
+ V1GroupVersionForDiscovery.validateJsonElement(jsonObj.get("preferredVersion"));
}
if (jsonObj.get("serverAddressByClientCIDRs") != null && !jsonObj.get("serverAddressByClientCIDRs").isJsonNull()) {
JsonArray jsonArrayserverAddressByClientCIDRs = jsonObj.getAsJsonArray("serverAddressByClientCIDRs");
@@ -342,7 +330,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
// validate the optional field `serverAddressByClientCIDRs` (array)
for (int i = 0; i < jsonArrayserverAddressByClientCIDRs.size(); i++) {
- V1ServerAddressByClientCIDR.validateJsonObject(jsonArrayserverAddressByClientCIDRs.get(i).getAsJsonObject());
+ V1ServerAddressByClientCIDR.validateJsonElement(jsonArrayserverAddressByClientCIDRs.get(i));
};
}
}
@@ -354,7 +342,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayversions = jsonObj.getAsJsonArray("versions");
// validate the required field `versions` (array)
for (int i = 0; i < jsonArrayversions.size(); i++) {
- V1GroupVersionForDiscovery.validateJsonObject(jsonArrayversions.get(i).getAsJsonObject());
+ V1GroupVersionForDiscovery.validateJsonElement(jsonArrayversions.get(i));
};
}
@@ -378,9 +366,9 @@ public void write(JsonWriter out, V1APIGroup value) throws IOException {
@Override
public V1APIGroup read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 5726cdb235..ded905f3c8 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1APIGroup;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,7 @@
/**
* 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 = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIGroupList {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -70,7 +69,6 @@ public V1APIGroupList() {
}
public V1APIGroupList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -84,14 +82,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1APIGroupList groups(List groups) {
-
this.groups = groups;
return this;
}
@@ -113,14 +109,12 @@ public List getGroups() {
return groups;
}
-
public void setGroups(List groups) {
this.groups = groups;
}
public V1APIGroupList kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -134,7 +128,6 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
@@ -199,32 +192,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIGroupList
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIGroupList
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIGroupList.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIGroupList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIGroupList is not found in the empty JSON string", V1APIGroupList.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIGroupList.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIGroupList` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIGroupList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIGroupList.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -236,7 +230,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArraygroups = jsonObj.getAsJsonArray("groups");
// validate the required field `groups` (array)
for (int i = 0; i < jsonArraygroups.size(); i++) {
- V1APIGroup.validateJsonObject(jsonArraygroups.get(i).getAsJsonObject());
+ V1APIGroup.validateJsonElement(jsonArraygroups.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()));
@@ -263,9 +257,9 @@ public void write(JsonWriter out, V1APIGroupList value) throws IOException {
@Override
public V1APIGroupList read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 5029b6bf7d..365c1252f4 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -43,7 +43,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -51,11 +50,11 @@
/**
* APIResource specifies the name of a resource and whether it is namespaced.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIResource {
public static final String SERIALIZED_NAME_CATEGORIES = "categories";
@SerializedName(SERIALIZED_NAME_CATEGORIES)
- private List categories;
+ private List categories = new ArrayList<>();
public static final String SERIALIZED_NAME_GROUP = "group";
@SerializedName(SERIALIZED_NAME_GROUP)
@@ -75,7 +74,7 @@ public class V1APIResource {
public static final String SERIALIZED_NAME_SHORT_NAMES = "shortNames";
@SerializedName(SERIALIZED_NAME_SHORT_NAMES)
- private List shortNames;
+ private List shortNames = new ArrayList<>();
public static final String SERIALIZED_NAME_SINGULAR_NAME = "singularName";
@SerializedName(SERIALIZED_NAME_SINGULAR_NAME)
@@ -97,7 +96,6 @@ public V1APIResource() {
}
public V1APIResource categories(List categories) {
-
this.categories = categories;
return this;
}
@@ -119,14 +117,12 @@ public List getCategories() {
return categories;
}
-
public void setCategories(List categories) {
this.categories = categories;
}
public V1APIResource group(String group) {
-
this.group = group;
return this;
}
@@ -140,14 +136,12 @@ public String getGroup() {
return group;
}
-
public void setGroup(String group) {
this.group = group;
}
public V1APIResource kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -161,14 +155,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1APIResource name(String name) {
-
this.name = name;
return this;
}
@@ -182,14 +174,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public V1APIResource namespaced(Boolean namespaced) {
-
this.namespaced = namespaced;
return this;
}
@@ -203,14 +193,12 @@ public Boolean getNamespaced() {
return namespaced;
}
-
public void setNamespaced(Boolean namespaced) {
this.namespaced = namespaced;
}
public V1APIResource shortNames(List shortNames) {
-
this.shortNames = shortNames;
return this;
}
@@ -232,14 +220,12 @@ public List getShortNames() {
return shortNames;
}
-
public void setShortNames(List shortNames) {
this.shortNames = shortNames;
}
public V1APIResource singularName(String singularName) {
-
this.singularName = singularName;
return this;
}
@@ -253,14 +239,12 @@ public String getSingularName() {
return singularName;
}
-
public void setSingularName(String singularName) {
this.singularName = singularName;
}
public V1APIResource storageVersionHash(String storageVersionHash) {
-
this.storageVersionHash = storageVersionHash;
return this;
}
@@ -274,14 +258,12 @@ public String getStorageVersionHash() {
return storageVersionHash;
}
-
public void setStorageVersionHash(String storageVersionHash) {
this.storageVersionHash = storageVersionHash;
}
public V1APIResource verbs(List verbs) {
-
this.verbs = verbs;
return this;
}
@@ -303,14 +285,12 @@ public List getVerbs() {
return verbs;
}
-
public void setVerbs(List verbs) {
this.verbs = verbs;
}
public V1APIResource version(String version) {
-
this.version = version;
return this;
}
@@ -324,7 +304,6 @@ public String getVersion() {
return version;
}
-
public void setVersion(String version) {
this.version = version;
}
@@ -414,34 +393,35 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIResource
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIResource
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIResource.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIResource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIResource is not found in the empty JSON string", V1APIResource.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIResource.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIResource` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIResource` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIResource.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("categories") != null && !jsonObj.get("categories").isJsonArray()) {
+ if (jsonObj.get("categories") != null && !jsonObj.get("categories").isJsonNull() && !jsonObj.get("categories").isJsonArray()) {
throw new IllegalArgumentException(String.format("Expected the field `categories` to be an array in the JSON string but got `%s`", jsonObj.get("categories").toString()));
}
if ((jsonObj.get("group") != null && !jsonObj.get("group").isJsonNull()) && !jsonObj.get("group").isJsonPrimitive()) {
@@ -454,7 +434,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
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()));
}
// ensure the optional json data is an array if present
- if (jsonObj.get("shortNames") != null && !jsonObj.get("shortNames").isJsonArray()) {
+ if (jsonObj.get("shortNames") != null && !jsonObj.get("shortNames").isJsonNull() && !jsonObj.get("shortNames").isJsonArray()) {
throw new IllegalArgumentException(String.format("Expected the field `shortNames` to be an array in the JSON string but got `%s`", jsonObj.get("shortNames").toString()));
}
if (!jsonObj.get("singularName").isJsonPrimitive()) {
@@ -494,9 +474,9 @@ public void write(JsonWriter out, V1APIResource value) throws IOException {
@Override
public V1APIResource read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 67682dec71..c7f65d06cb 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1APIResource;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIResourceList {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -74,7 +73,6 @@ public V1APIResourceList() {
}
public V1APIResourceList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -88,14 +86,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1APIResourceList groupVersion(String groupVersion) {
-
this.groupVersion = groupVersion;
return this;
}
@@ -109,14 +105,12 @@ public String getGroupVersion() {
return groupVersion;
}
-
public void setGroupVersion(String groupVersion) {
this.groupVersion = groupVersion;
}
public V1APIResourceList kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -130,14 +124,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1APIResourceList resources(List resources) {
-
this.resources = resources;
return this;
}
@@ -159,7 +151,6 @@ public List getResources() {
return resources;
}
-
public void setResources(List resources) {
this.resources = resources;
}
@@ -228,32 +219,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIResourceList
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIResourceList
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIResourceList.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIResourceList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIResourceList is not found in the empty JSON string", V1APIResourceList.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIResourceList.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIResourceList` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIResourceList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIResourceList.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -271,7 +263,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayresources = jsonObj.getAsJsonArray("resources");
// validate the required field `resources` (array)
for (int i = 0; i < jsonArrayresources.size(); i++) {
- V1APIResource.validateJsonObject(jsonArrayresources.get(i).getAsJsonObject());
+ V1APIResource.validateJsonElement(jsonArrayresources.get(i));
};
}
@@ -295,9 +287,9 @@ public void write(JsonWriter out, V1APIResourceList value) throws IOException {
@Override
public V1APIResourceList read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 591be12f80..fd214f1d64 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1APIServiceStatus;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,7 @@
/**
* APIService represents a server for a particular GroupVersion. Name must be \"version.group\".
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIService implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -78,7 +77,6 @@ public V1APIService() {
}
public V1APIService apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -92,14 +90,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1APIService kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -113,14 +109,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1APIService metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -134,14 +128,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public V1APIService spec(V1APIServiceSpec spec) {
-
this.spec = spec;
return this;
}
@@ -155,14 +147,12 @@ public V1APIServiceSpec getSpec() {
return spec;
}
-
public void setSpec(V1APIServiceSpec spec) {
this.spec = spec;
}
public V1APIService status(V1APIServiceStatus status) {
-
this.status = status;
return this;
}
@@ -176,7 +166,6 @@ public V1APIServiceStatus getStatus() {
return status;
}
-
public void setStatus(V1APIServiceStatus status) {
this.status = status;
}
@@ -246,25 +235,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIService
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIService
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIService.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIService.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIService is not found in the empty JSON string", V1APIService.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIService.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIService` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIService` 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()));
}
@@ -273,15 +263,15 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `metadata`
if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) {
- V1ObjectMeta.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
}
// validate the optional field `spec`
if (jsonObj.get("spec") != null && !jsonObj.get("spec").isJsonNull()) {
- V1APIServiceSpec.validateJsonObject(jsonObj.getAsJsonObject("spec"));
+ V1APIServiceSpec.validateJsonElement(jsonObj.get("spec"));
}
// validate the optional field `status`
if (jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) {
- V1APIServiceStatus.validateJsonObject(jsonObj.getAsJsonObject("status"));
+ V1APIServiceStatus.validateJsonElement(jsonObj.get("status"));
}
}
@@ -305,9 +295,9 @@ public void write(JsonWriter out, V1APIService value) throws IOException {
@Override
public V1APIService read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 9a617d08e7..226d71f7e1 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -42,7 +42,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -50,7 +49,7 @@
/**
* APIServiceCondition describes the state of an APIService at a particular point
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceCondition {
public static final String SERIALIZED_NAME_LAST_TRANSITION_TIME = "lastTransitionTime";
@SerializedName(SERIALIZED_NAME_LAST_TRANSITION_TIME)
@@ -76,7 +75,6 @@ public V1APIServiceCondition() {
}
public V1APIServiceCondition lastTransitionTime(OffsetDateTime lastTransitionTime) {
-
this.lastTransitionTime = lastTransitionTime;
return this;
}
@@ -90,14 +88,12 @@ public OffsetDateTime getLastTransitionTime() {
return lastTransitionTime;
}
-
public void setLastTransitionTime(OffsetDateTime lastTransitionTime) {
this.lastTransitionTime = lastTransitionTime;
}
public V1APIServiceCondition message(String message) {
-
this.message = message;
return this;
}
@@ -111,14 +107,12 @@ public String getMessage() {
return message;
}
-
public void setMessage(String message) {
this.message = message;
}
public V1APIServiceCondition reason(String reason) {
-
this.reason = reason;
return this;
}
@@ -132,14 +126,12 @@ public String getReason() {
return reason;
}
-
public void setReason(String reason) {
this.reason = reason;
}
public V1APIServiceCondition status(String status) {
-
this.status = status;
return this;
}
@@ -153,14 +145,12 @@ public String getStatus() {
return status;
}
-
public void setStatus(String status) {
this.status = status;
}
public V1APIServiceCondition type(String type) {
-
this.type = type;
return this;
}
@@ -174,7 +164,6 @@ public String getType() {
return type;
}
-
public void setType(String type) {
this.type = type;
}
@@ -246,32 +235,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIServiceCondition
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIServiceCondition
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIServiceCondition.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIServiceCondition.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIServiceCondition is not found in the empty JSON string", V1APIServiceCondition.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIServiceCondition.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceCondition` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceCondition` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIServiceCondition.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("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()));
}
@@ -306,9 +296,9 @@ public void write(JsonWriter out, V1APIServiceCondition value) throws IOExceptio
@Override
public V1APIServiceCondition read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 b686f7e3df..25661e292e 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ListMeta;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -45,7 +45,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -53,7 +52,7 @@
/**
* APIServiceList is a list of APIService objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -75,7 +74,6 @@ public V1APIServiceList() {
}
public V1APIServiceList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -89,14 +87,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1APIServiceList items(List items) {
-
this.items = items;
return this;
}
@@ -118,14 +114,12 @@ public List getItems() {
return items;
}
-
public void setItems(List items) {
this.items = items;
}
public V1APIServiceList kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -139,14 +133,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1APIServiceList metadata(V1ListMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -160,7 +152,6 @@ public V1ListMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ListMeta metadata) {
this.metadata = metadata;
}
@@ -228,32 +219,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIServiceList
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIServiceList
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIServiceList.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIServiceList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIServiceList is not found in the empty JSON string", V1APIServiceList.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIServiceList.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceList` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIServiceList.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -265,14 +257,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items");
// validate the required field `items` (array)
for (int i = 0; i < jsonArrayitems.size(); i++) {
- V1APIService.validateJsonObject(jsonArrayitems.get(i).getAsJsonObject());
+ V1APIService.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.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ListMeta.validateJsonElement(jsonObj.get("metadata"));
}
}
@@ -296,9 +288,9 @@ public void write(JsonWriter out, V1APIServiceList value) throws IOException {
@Override
public V1APIServiceList read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 a5aa260979..80d14bb9d2 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -21,6 +20,7 @@
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.openapi.models.ApiregistrationV1ServiceReference;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -42,7 +42,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -50,7 +49,7 @@
/**
* 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 = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceSpec {
public static final String SERIALIZED_NAME_CA_BUNDLE = "caBundle";
@SerializedName(SERIALIZED_NAME_CA_BUNDLE)
@@ -84,7 +83,6 @@ public V1APIServiceSpec() {
}
public V1APIServiceSpec caBundle(byte[] caBundle) {
-
this.caBundle = caBundle;
return this;
}
@@ -98,14 +96,12 @@ public byte[] getCaBundle() {
return caBundle;
}
-
public void setCaBundle(byte[] caBundle) {
this.caBundle = caBundle;
}
public V1APIServiceSpec group(String group) {
-
this.group = group;
return this;
}
@@ -119,14 +115,12 @@ public String getGroup() {
return group;
}
-
public void setGroup(String group) {
this.group = group;
}
public V1APIServiceSpec groupPriorityMinimum(Integer groupPriorityMinimum) {
-
this.groupPriorityMinimum = groupPriorityMinimum;
return this;
}
@@ -140,14 +134,12 @@ public Integer getGroupPriorityMinimum() {
return groupPriorityMinimum;
}
-
public void setGroupPriorityMinimum(Integer groupPriorityMinimum) {
this.groupPriorityMinimum = groupPriorityMinimum;
}
public V1APIServiceSpec insecureSkipTLSVerify(Boolean insecureSkipTLSVerify) {
-
this.insecureSkipTLSVerify = insecureSkipTLSVerify;
return this;
}
@@ -161,14 +153,12 @@ public Boolean getInsecureSkipTLSVerify() {
return insecureSkipTLSVerify;
}
-
public void setInsecureSkipTLSVerify(Boolean insecureSkipTLSVerify) {
this.insecureSkipTLSVerify = insecureSkipTLSVerify;
}
public V1APIServiceSpec service(ApiregistrationV1ServiceReference service) {
-
this.service = service;
return this;
}
@@ -182,14 +172,12 @@ public ApiregistrationV1ServiceReference getService() {
return service;
}
-
public void setService(ApiregistrationV1ServiceReference service) {
this.service = service;
}
public V1APIServiceSpec version(String version) {
-
this.version = version;
return this;
}
@@ -203,14 +191,12 @@ public String getVersion() {
return version;
}
-
public void setVersion(String version) {
this.version = version;
}
public V1APIServiceSpec versionPriority(Integer versionPriority) {
-
this.versionPriority = versionPriority;
return this;
}
@@ -224,7 +210,6 @@ public Integer getVersionPriority() {
return versionPriority;
}
-
public void setVersionPriority(Integer versionPriority) {
this.versionPriority = versionPriority;
}
@@ -302,38 +287,39 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIServiceSpec
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIServiceSpec
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIServiceSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIServiceSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIServiceSpec is not found in the empty JSON string", V1APIServiceSpec.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIServiceSpec.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceSpec` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIServiceSpec.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("group") != null && !jsonObj.get("group").isJsonNull()) && !jsonObj.get("group").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `group` to be a primitive type in the JSON string but got `%s`", jsonObj.get("group").toString()));
}
// validate the optional field `service`
if (jsonObj.get("service") != null && !jsonObj.get("service").isJsonNull()) {
- ApiregistrationV1ServiceReference.validateJsonObject(jsonObj.getAsJsonObject("service"));
+ ApiregistrationV1ServiceReference.validateJsonElement(jsonObj.get("service"));
}
if ((jsonObj.get("version") != null && !jsonObj.get("version").isJsonNull()) && !jsonObj.get("version").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString()));
@@ -360,9 +346,9 @@ public void write(JsonWriter out, V1APIServiceSpec value) throws IOException {
@Override
public V1APIServiceSpec read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 bdd28277b4..3fedf620b2 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1APIServiceCondition;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,17 +51,16 @@
/**
* APIServiceStatus contains derived information about an API server
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIServiceStatus {
public static final String SERIALIZED_NAME_CONDITIONS = "conditions";
@SerializedName(SERIALIZED_NAME_CONDITIONS)
- private List conditions;
+ private List conditions = new ArrayList<>();
public V1APIServiceStatus() {
}
public V1APIServiceStatus conditions(List conditions) {
-
this.conditions = conditions;
return this;
}
@@ -84,7 +82,6 @@ public List getConditions() {
return conditions;
}
-
public void setConditions(List conditions) {
this.conditions = conditions;
}
@@ -142,25 +139,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIServiceStatus
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIServiceStatus
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIServiceStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIServiceStatus.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIServiceStatus is not found in the empty JSON string", V1APIServiceStatus.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIServiceStatus.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceStatus` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIServiceStatus` 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) {
@@ -171,7 +169,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
// validate the optional field `conditions` (array)
for (int i = 0; i < jsonArrayconditions.size(); i++) {
- V1APIServiceCondition.validateJsonObject(jsonArrayconditions.get(i).getAsJsonObject());
+ V1APIServiceCondition.validateJsonElement(jsonArrayconditions.get(i));
};
}
}
@@ -197,9 +195,9 @@ public void write(JsonWriter out, V1APIServiceStatus value) throws IOException {
@Override
public V1APIServiceStatus read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 5a2943fe92..b3ffe6347f 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1APIVersions {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -74,7 +73,6 @@ public V1APIVersions() {
}
public V1APIVersions apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -88,14 +86,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1APIVersions kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -109,14 +105,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1APIVersions serverAddressByClientCIDRs(List serverAddressByClientCIDRs) {
-
this.serverAddressByClientCIDRs = serverAddressByClientCIDRs;
return this;
}
@@ -138,14 +132,12 @@ public List getServerAddressByClientCIDRs() {
return serverAddressByClientCIDRs;
}
-
public void setServerAddressByClientCIDRs(List serverAddressByClientCIDRs) {
this.serverAddressByClientCIDRs = serverAddressByClientCIDRs;
}
public V1APIVersions versions(List versions) {
-
this.versions = versions;
return this;
}
@@ -167,7 +159,6 @@ public List getVersions() {
return versions;
}
-
public void setVersions(List versions) {
this.versions = versions;
}
@@ -236,32 +227,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1APIVersions
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1APIVersions
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1APIVersions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1APIVersions.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1APIVersions is not found in the empty JSON string", V1APIVersions.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1APIVersions.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIVersions` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1APIVersions` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1APIVersions.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -276,7 +268,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayserverAddressByClientCIDRs = jsonObj.getAsJsonArray("serverAddressByClientCIDRs");
// validate the required field `serverAddressByClientCIDRs` (array)
for (int i = 0; i < jsonArrayserverAddressByClientCIDRs.size(); i++) {
- V1ServerAddressByClientCIDR.validateJsonObject(jsonArrayserverAddressByClientCIDRs.get(i).getAsJsonObject());
+ V1ServerAddressByClientCIDR.validateJsonElement(jsonArrayserverAddressByClientCIDRs.get(i));
};
// ensure the required json array is present
if (jsonObj.get("versions") == null) {
@@ -306,9 +298,9 @@ public void write(JsonWriter out, V1APIVersions value) throws IOException {
@Override
public V1APIVersions read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 64d098d0e2..957b213f80 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AWSElasticBlockStoreVolumeSource {
public static final String SERIALIZED_NAME_FS_TYPE = "fsType";
@SerializedName(SERIALIZED_NAME_FS_TYPE)
@@ -71,7 +70,6 @@ public V1AWSElasticBlockStoreVolumeSource() {
}
public V1AWSElasticBlockStoreVolumeSource fsType(String fsType) {
-
this.fsType = fsType;
return this;
}
@@ -85,14 +83,12 @@ public String getFsType() {
return fsType;
}
-
public void setFsType(String fsType) {
this.fsType = fsType;
}
public V1AWSElasticBlockStoreVolumeSource partition(Integer partition) {
-
this.partition = partition;
return this;
}
@@ -106,14 +102,12 @@ public Integer getPartition() {
return partition;
}
-
public void setPartition(Integer partition) {
this.partition = partition;
}
public V1AWSElasticBlockStoreVolumeSource readOnly(Boolean readOnly) {
-
this.readOnly = readOnly;
return this;
}
@@ -127,14 +121,12 @@ public Boolean getReadOnly() {
return readOnly;
}
-
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public V1AWSElasticBlockStoreVolumeSource volumeID(String volumeID) {
-
this.volumeID = volumeID;
return this;
}
@@ -148,7 +140,6 @@ public String getVolumeID() {
return volumeID;
}
-
public void setVolumeID(String volumeID) {
this.volumeID = volumeID;
}
@@ -216,32 +207,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AWSElasticBlockStoreVolumeSource
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AWSElasticBlockStoreVolumeSource
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AWSElasticBlockStoreVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AWSElasticBlockStoreVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AWSElasticBlockStoreVolumeSource is not found in the empty JSON string", V1AWSElasticBlockStoreVolumeSource.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AWSElasticBlockStoreVolumeSource.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AWSElasticBlockStoreVolumeSource` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AWSElasticBlockStoreVolumeSource` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AWSElasticBlockStoreVolumeSource.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("fsType") != null && !jsonObj.get("fsType").isJsonNull()) && !jsonObj.get("fsType").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `fsType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fsType").toString()));
}
@@ -270,9 +262,9 @@ public void write(JsonWriter out, V1AWSElasticBlockStoreVolumeSource value) thro
@Override
public V1AWSElasticBlockStoreVolumeSource read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 86e3fb02c9..7e315ffc01 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1PodAffinity;
import io.kubernetes.client.openapi.models.V1PodAntiAffinity;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,7 @@
/**
* Affinity is a group of affinity scheduling rules.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Affinity {
public static final String SERIALIZED_NAME_NODE_AFFINITY = "nodeAffinity";
@SerializedName(SERIALIZED_NAME_NODE_AFFINITY)
@@ -70,7 +69,6 @@ public V1Affinity() {
}
public V1Affinity nodeAffinity(V1NodeAffinity nodeAffinity) {
-
this.nodeAffinity = nodeAffinity;
return this;
}
@@ -84,14 +82,12 @@ public V1NodeAffinity getNodeAffinity() {
return nodeAffinity;
}
-
public void setNodeAffinity(V1NodeAffinity nodeAffinity) {
this.nodeAffinity = nodeAffinity;
}
public V1Affinity podAffinity(V1PodAffinity podAffinity) {
-
this.podAffinity = podAffinity;
return this;
}
@@ -105,14 +101,12 @@ public V1PodAffinity getPodAffinity() {
return podAffinity;
}
-
public void setPodAffinity(V1PodAffinity podAffinity) {
this.podAffinity = podAffinity;
}
public V1Affinity podAntiAffinity(V1PodAntiAffinity podAntiAffinity) {
-
this.podAntiAffinity = podAntiAffinity;
return this;
}
@@ -126,7 +120,6 @@ public V1PodAntiAffinity getPodAntiAffinity() {
return podAntiAffinity;
}
-
public void setPodAntiAffinity(V1PodAntiAffinity podAntiAffinity) {
this.podAntiAffinity = podAntiAffinity;
}
@@ -190,36 +183,37 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1Affinity
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1Affinity
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1Affinity.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1Affinity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1Affinity is not found in the empty JSON string", V1Affinity.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1Affinity.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1Affinity` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1Affinity` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
// validate the optional field `nodeAffinity`
if (jsonObj.get("nodeAffinity") != null && !jsonObj.get("nodeAffinity").isJsonNull()) {
- V1NodeAffinity.validateJsonObject(jsonObj.getAsJsonObject("nodeAffinity"));
+ V1NodeAffinity.validateJsonElement(jsonObj.get("nodeAffinity"));
}
// validate the optional field `podAffinity`
if (jsonObj.get("podAffinity") != null && !jsonObj.get("podAffinity").isJsonNull()) {
- V1PodAffinity.validateJsonObject(jsonObj.getAsJsonObject("podAffinity"));
+ V1PodAffinity.validateJsonElement(jsonObj.get("podAffinity"));
}
// validate the optional field `podAntiAffinity`
if (jsonObj.get("podAntiAffinity") != null && !jsonObj.get("podAntiAffinity").isJsonNull()) {
- V1PodAntiAffinity.validateJsonObject(jsonObj.getAsJsonObject("podAntiAffinity"));
+ V1PodAntiAffinity.validateJsonElement(jsonObj.get("podAntiAffinity"));
}
}
@@ -243,9 +237,9 @@ public void write(JsonWriter out, V1Affinity value) throws IOException {
@Override
public V1Affinity read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 b5bb6956db..49486637a0 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1LabelSelector;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,17 +51,16 @@
/**
* AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AggregationRule {
public static final String SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS = "clusterRoleSelectors";
@SerializedName(SERIALIZED_NAME_CLUSTER_ROLE_SELECTORS)
- private List clusterRoleSelectors;
+ private List clusterRoleSelectors = new ArrayList<>();
public V1AggregationRule() {
}
public V1AggregationRule clusterRoleSelectors(List clusterRoleSelectors) {
-
this.clusterRoleSelectors = clusterRoleSelectors;
return this;
}
@@ -84,7 +82,6 @@ public List getClusterRoleSelectors() {
return clusterRoleSelectors;
}
-
public void setClusterRoleSelectors(List clusterRoleSelectors) {
this.clusterRoleSelectors = clusterRoleSelectors;
}
@@ -142,25 +139,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AggregationRule
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AggregationRule
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AggregationRule.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AggregationRule.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AggregationRule is not found in the empty JSON string", V1AggregationRule.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AggregationRule.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AggregationRule` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AggregationRule` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
if (jsonObj.get("clusterRoleSelectors") != null && !jsonObj.get("clusterRoleSelectors").isJsonNull()) {
JsonArray jsonArrayclusterRoleSelectors = jsonObj.getAsJsonArray("clusterRoleSelectors");
if (jsonArrayclusterRoleSelectors != null) {
@@ -171,7 +169,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
// validate the optional field `clusterRoleSelectors` (array)
for (int i = 0; i < jsonArrayclusterRoleSelectors.size(); i++) {
- V1LabelSelector.validateJsonObject(jsonArrayclusterRoleSelectors.get(i).getAsJsonObject());
+ V1LabelSelector.validateJsonElement(jsonArrayclusterRoleSelectors.get(i));
};
}
}
@@ -197,9 +195,9 @@ public void write(JsonWriter out, V1AggregationRule value) throws IOException {
@Override
public V1AggregationRule read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 30a29bf9c9..385b604c61 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* AppArmorProfile defines a pod or container's AppArmor settings.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AppArmorProfile {
public static final String SERIALIZED_NAME_LOCALHOST_PROFILE = "localhostProfile";
@SerializedName(SERIALIZED_NAME_LOCALHOST_PROFILE)
@@ -63,7 +62,6 @@ public V1AppArmorProfile() {
}
public V1AppArmorProfile localhostProfile(String localhostProfile) {
-
this.localhostProfile = localhostProfile;
return this;
}
@@ -77,14 +75,12 @@ public String getLocalhostProfile() {
return localhostProfile;
}
-
public void setLocalhostProfile(String localhostProfile) {
this.localhostProfile = localhostProfile;
}
public V1AppArmorProfile type(String type) {
-
this.type = type;
return this;
}
@@ -98,7 +94,6 @@ public String getType() {
return type;
}
-
public void setType(String type) {
this.type = type;
}
@@ -160,32 +155,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AppArmorProfile
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AppArmorProfile
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AppArmorProfile.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AppArmorProfile.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AppArmorProfile is not found in the empty JSON string", V1AppArmorProfile.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AppArmorProfile.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AppArmorProfile` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AppArmorProfile` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AppArmorProfile.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("localhostProfile") != null && !jsonObj.get("localhostProfile").isJsonNull()) && !jsonObj.get("localhostProfile").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `localhostProfile` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localhostProfile").toString()));
}
@@ -214,9 +210,9 @@ public void write(JsonWriter out, V1AppArmorProfile value) throws IOException {
@Override
public V1AppArmorProfile read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 882b1a6c15..861ef429cc 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* AttachedVolume describes a volume attached to a node
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AttachedVolume {
public static final String SERIALIZED_NAME_DEVICE_PATH = "devicePath";
@SerializedName(SERIALIZED_NAME_DEVICE_PATH)
@@ -63,7 +62,6 @@ public V1AttachedVolume() {
}
public V1AttachedVolume devicePath(String devicePath) {
-
this.devicePath = devicePath;
return this;
}
@@ -77,14 +75,12 @@ public String getDevicePath() {
return devicePath;
}
-
public void setDevicePath(String devicePath) {
this.devicePath = devicePath;
}
public V1AttachedVolume name(String name) {
-
this.name = name;
return this;
}
@@ -98,7 +94,6 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
@@ -161,32 +156,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AttachedVolume
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AttachedVolume
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AttachedVolume.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AttachedVolume.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AttachedVolume is not found in the empty JSON string", V1AttachedVolume.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AttachedVolume.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AttachedVolume` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AttachedVolume` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AttachedVolume.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("devicePath").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `devicePath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("devicePath").toString()));
}
@@ -215,9 +211,9 @@ public void write(JsonWriter out, V1AttachedVolume value) throws IOException {
@Override
public V1AttachedVolume read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 94990fddfb..0692642762 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* AuditAnnotation describes how to produce an audit annotation for an API request.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AuditAnnotation {
public static final String SERIALIZED_NAME_KEY = "key";
@SerializedName(SERIALIZED_NAME_KEY)
@@ -63,7 +62,6 @@ public V1AuditAnnotation() {
}
public V1AuditAnnotation key(String key) {
-
this.key = key;
return this;
}
@@ -77,14 +75,12 @@ public String getKey() {
return key;
}
-
public void setKey(String key) {
this.key = key;
}
public V1AuditAnnotation valueExpression(String valueExpression) {
-
this.valueExpression = valueExpression;
return this;
}
@@ -98,7 +94,6 @@ public String getValueExpression() {
return valueExpression;
}
-
public void setValueExpression(String valueExpression) {
this.valueExpression = valueExpression;
}
@@ -161,32 +156,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AuditAnnotation
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AuditAnnotation
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AuditAnnotation.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AuditAnnotation.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AuditAnnotation is not found in the empty JSON string", V1AuditAnnotation.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AuditAnnotation.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AuditAnnotation` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AuditAnnotation` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AuditAnnotation.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -215,9 +211,9 @@ public void write(JsonWriter out, V1AuditAnnotation value) throws IOException {
@Override
public V1AuditAnnotation read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 20eaeea246..2726a58c4a 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* 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 = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AzureDiskVolumeSource {
public static final String SERIALIZED_NAME_CACHING_MODE = "cachingMode";
@SerializedName(SERIALIZED_NAME_CACHING_MODE)
@@ -79,7 +78,6 @@ public V1AzureDiskVolumeSource() {
}
public V1AzureDiskVolumeSource cachingMode(String cachingMode) {
-
this.cachingMode = cachingMode;
return this;
}
@@ -93,14 +91,12 @@ public String getCachingMode() {
return cachingMode;
}
-
public void setCachingMode(String cachingMode) {
this.cachingMode = cachingMode;
}
public V1AzureDiskVolumeSource diskName(String diskName) {
-
this.diskName = diskName;
return this;
}
@@ -114,14 +110,12 @@ public String getDiskName() {
return diskName;
}
-
public void setDiskName(String diskName) {
this.diskName = diskName;
}
public V1AzureDiskVolumeSource diskURI(String diskURI) {
-
this.diskURI = diskURI;
return this;
}
@@ -135,14 +129,12 @@ public String getDiskURI() {
return diskURI;
}
-
public void setDiskURI(String diskURI) {
this.diskURI = diskURI;
}
public V1AzureDiskVolumeSource fsType(String fsType) {
-
this.fsType = fsType;
return this;
}
@@ -156,14 +148,12 @@ public String getFsType() {
return fsType;
}
-
public void setFsType(String fsType) {
this.fsType = fsType;
}
public V1AzureDiskVolumeSource kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -177,14 +167,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1AzureDiskVolumeSource readOnly(Boolean readOnly) {
-
this.readOnly = readOnly;
return this;
}
@@ -198,7 +186,6 @@ public Boolean getReadOnly() {
return readOnly;
}
-
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
@@ -273,32 +260,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AzureDiskVolumeSource
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AzureDiskVolumeSource
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AzureDiskVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AzureDiskVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AzureDiskVolumeSource is not found in the empty JSON string", V1AzureDiskVolumeSource.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AzureDiskVolumeSource.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AzureDiskVolumeSource` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AzureDiskVolumeSource` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AzureDiskVolumeSource.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("cachingMode") != null && !jsonObj.get("cachingMode").isJsonNull()) && !jsonObj.get("cachingMode").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `cachingMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cachingMode").toString()));
}
@@ -336,9 +324,9 @@ public void write(JsonWriter out, V1AzureDiskVolumeSource value) throws IOExcept
@Override
public V1AzureDiskVolumeSource read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 9f4f9ee928..076f71c1df 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* 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 = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AzureFilePersistentVolumeSource {
public static final String SERIALIZED_NAME_READ_ONLY = "readOnly";
@SerializedName(SERIALIZED_NAME_READ_ONLY)
@@ -71,7 +70,6 @@ public V1AzureFilePersistentVolumeSource() {
}
public V1AzureFilePersistentVolumeSource readOnly(Boolean readOnly) {
-
this.readOnly = readOnly;
return this;
}
@@ -85,14 +83,12 @@ public Boolean getReadOnly() {
return readOnly;
}
-
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public V1AzureFilePersistentVolumeSource secretName(String secretName) {
-
this.secretName = secretName;
return this;
}
@@ -106,14 +102,12 @@ public String getSecretName() {
return secretName;
}
-
public void setSecretName(String secretName) {
this.secretName = secretName;
}
public V1AzureFilePersistentVolumeSource secretNamespace(String secretNamespace) {
-
this.secretNamespace = secretNamespace;
return this;
}
@@ -127,14 +121,12 @@ public String getSecretNamespace() {
return secretNamespace;
}
-
public void setSecretNamespace(String secretNamespace) {
this.secretNamespace = secretNamespace;
}
public V1AzureFilePersistentVolumeSource shareName(String shareName) {
-
this.shareName = shareName;
return this;
}
@@ -148,7 +140,6 @@ public String getShareName() {
return shareName;
}
-
public void setShareName(String shareName) {
this.shareName = shareName;
}
@@ -217,32 +208,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AzureFilePersistentVolumeSource
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AzureFilePersistentVolumeSource
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AzureFilePersistentVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AzureFilePersistentVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AzureFilePersistentVolumeSource is not found in the empty JSON string", V1AzureFilePersistentVolumeSource.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AzureFilePersistentVolumeSource.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AzureFilePersistentVolumeSource` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AzureFilePersistentVolumeSource` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AzureFilePersistentVolumeSource.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("secretName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `secretName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secretName").toString()));
}
@@ -274,9 +266,9 @@ public void write(JsonWriter out, V1AzureFilePersistentVolumeSource value) throw
@Override
public V1AzureFilePersistentVolumeSource read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 f4e33a0955..d897c3e264 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* 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 = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1AzureFileVolumeSource {
public static final String SERIALIZED_NAME_READ_ONLY = "readOnly";
@SerializedName(SERIALIZED_NAME_READ_ONLY)
@@ -67,7 +66,6 @@ public V1AzureFileVolumeSource() {
}
public V1AzureFileVolumeSource readOnly(Boolean readOnly) {
-
this.readOnly = readOnly;
return this;
}
@@ -81,14 +79,12 @@ public Boolean getReadOnly() {
return readOnly;
}
-
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public V1AzureFileVolumeSource secretName(String secretName) {
-
this.secretName = secretName;
return this;
}
@@ -102,14 +98,12 @@ public String getSecretName() {
return secretName;
}
-
public void setSecretName(String secretName) {
this.secretName = secretName;
}
public V1AzureFileVolumeSource shareName(String shareName) {
-
this.shareName = shareName;
return this;
}
@@ -123,7 +117,6 @@ public String getShareName() {
return shareName;
}
-
public void setShareName(String shareName) {
this.shareName = shareName;
}
@@ -189,32 +182,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1AzureFileVolumeSource
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1AzureFileVolumeSource
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1AzureFileVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1AzureFileVolumeSource.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1AzureFileVolumeSource is not found in the empty JSON string", V1AzureFileVolumeSource.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1AzureFileVolumeSource.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AzureFileVolumeSource` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1AzureFileVolumeSource` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1AzureFileVolumeSource.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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("secretName").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `secretName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secretName").toString()));
}
@@ -243,9 +237,9 @@ public void write(JsonWriter out, V1AzureFileVolumeSource value) throws IOExcept
@Override
public V1AzureFileVolumeSource read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 1e204199b6..3c357623c9 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.kubernetes.client.openapi.models.V1ObjectReference;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -43,7 +43,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -51,7 +50,7 @@
/**
* Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1Binding implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -73,7 +72,6 @@ public V1Binding() {
}
public V1Binding apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -87,14 +85,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1Binding kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -108,14 +104,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1Binding metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -129,14 +123,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public V1Binding target(V1ObjectReference target) {
-
this.target = target;
return this;
}
@@ -150,7 +142,6 @@ public V1ObjectReference getTarget() {
return target;
}
-
public void setTarget(V1ObjectReference target) {
this.target = target;
}
@@ -218,32 +209,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1Binding
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1Binding
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1Binding.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1Binding.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1Binding is not found in the empty JSON string", V1Binding.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1Binding.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1Binding` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1Binding` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1Binding.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -252,10 +244,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `metadata`
if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) {
- V1ObjectMeta.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
}
// validate the required field `target`
- V1ObjectReference.validateJsonObject(jsonObj.getAsJsonObject("target"));
+ V1ObjectReference.validateJsonElement(jsonObj.get("target"));
}
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
@@ -278,9 +270,9 @@ public void write(JsonWriter out, V1Binding value) throws IOException {
@Override
public V1Binding read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 63a9609ae5..26b9f0a64f 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
@@ -13,13 +13,13 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
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 java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -41,7 +41,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -49,7 +48,7 @@
/**
* BoundObjectReference is a reference to an object that a token is bound to.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1BoundObjectReference {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -71,7 +70,6 @@ public V1BoundObjectReference() {
}
public V1BoundObjectReference apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -85,14 +83,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1BoundObjectReference kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -106,14 +102,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1BoundObjectReference name(String name) {
-
this.name = name;
return this;
}
@@ -127,14 +121,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public V1BoundObjectReference uid(String uid) {
-
this.uid = uid;
return this;
}
@@ -148,7 +140,6 @@ public String getUid() {
return uid;
}
-
public void setUid(String uid) {
this.uid = uid;
}
@@ -215,25 +206,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1BoundObjectReference
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1BoundObjectReference
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1BoundObjectReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1BoundObjectReference.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1BoundObjectReference is not found in the empty JSON string", V1BoundObjectReference.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1BoundObjectReference.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1BoundObjectReference` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1BoundObjectReference` 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()));
}
@@ -268,9 +260,9 @@ public void write(JsonWriter out, V1BoundObjectReference value) throws IOExcepti
@Override
public V1BoundObjectReference read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 a3badbcc81..d7ee3816ac 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1CSIDriverSpec;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -43,7 +43,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -51,7 +50,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIDriver implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -73,7 +72,6 @@ public V1CSIDriver() {
}
public V1CSIDriver apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -87,14 +85,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1CSIDriver kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -108,14 +104,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1CSIDriver metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -129,14 +123,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public V1CSIDriver spec(V1CSIDriverSpec spec) {
-
this.spec = spec;
return this;
}
@@ -150,7 +142,6 @@ public V1CSIDriverSpec getSpec() {
return spec;
}
-
public void setSpec(V1CSIDriverSpec spec) {
this.spec = spec;
}
@@ -218,32 +209,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1CSIDriver
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1CSIDriver
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1CSIDriver.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1CSIDriver.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1CSIDriver is not found in the empty JSON string", V1CSIDriver.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1CSIDriver.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSIDriver` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSIDriver` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1CSIDriver.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -252,10 +244,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `metadata`
if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) {
- V1ObjectMeta.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
}
// validate the required field `spec`
- V1CSIDriverSpec.validateJsonObject(jsonObj.getAsJsonObject("spec"));
+ V1CSIDriverSpec.validateJsonElement(jsonObj.get("spec"));
}
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
@@ -278,9 +270,9 @@ public void write(JsonWriter out, V1CSIDriver value) throws IOException {
@Override
public V1CSIDriver read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 030c1e3112..6a40b5a189 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ListMeta;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -45,7 +45,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -53,7 +52,7 @@
/**
* CSIDriverList is a collection of CSIDriver objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIDriverList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -75,7 +74,6 @@ public V1CSIDriverList() {
}
public V1CSIDriverList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -89,14 +87,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1CSIDriverList items(List items) {
-
this.items = items;
return this;
}
@@ -118,14 +114,12 @@ public List getItems() {
return items;
}
-
public void setItems(List items) {
this.items = items;
}
public V1CSIDriverList kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -139,14 +133,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1CSIDriverList metadata(V1ListMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -160,7 +152,6 @@ public V1ListMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ListMeta metadata) {
this.metadata = metadata;
}
@@ -228,32 +219,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1CSIDriverList
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1CSIDriverList
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1CSIDriverList.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1CSIDriverList.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1CSIDriverList is not found in the empty JSON string", V1CSIDriverList.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1CSIDriverList.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSIDriverList` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSIDriverList` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1CSIDriverList.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -265,14 +257,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
JsonArray jsonArrayitems = jsonObj.getAsJsonArray("items");
// validate the required field `items` (array)
for (int i = 0; i < jsonArrayitems.size(); i++) {
- V1CSIDriver.validateJsonObject(jsonArrayitems.get(i).getAsJsonObject());
+ V1CSIDriver.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.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ListMeta.validateJsonElement(jsonObj.get("metadata"));
}
}
@@ -296,9 +288,9 @@ public void write(JsonWriter out, V1CSIDriverList value) throws IOException {
@Override
public V1CSIDriverList read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 3ec090cc73..fdadbc3e62 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.StorageV1TokenRequest;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,7 @@
/**
* CSIDriverSpec is the specification of a CSIDriver.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSIDriverSpec {
public static final String SERIALIZED_NAME_ATTACH_REQUIRED = "attachRequired";
@SerializedName(SERIALIZED_NAME_ATTACH_REQUIRED)
@@ -80,17 +79,16 @@ public class V1CSIDriverSpec {
public static final String SERIALIZED_NAME_TOKEN_REQUESTS = "tokenRequests";
@SerializedName(SERIALIZED_NAME_TOKEN_REQUESTS)
- private List tokenRequests;
+ private List tokenRequests = new ArrayList<>();
public static final String SERIALIZED_NAME_VOLUME_LIFECYCLE_MODES = "volumeLifecycleModes";
@SerializedName(SERIALIZED_NAME_VOLUME_LIFECYCLE_MODES)
- private List volumeLifecycleModes;
+ private List volumeLifecycleModes = new ArrayList<>();
public V1CSIDriverSpec() {
}
public V1CSIDriverSpec attachRequired(Boolean attachRequired) {
-
this.attachRequired = attachRequired;
return this;
}
@@ -104,14 +102,12 @@ public Boolean getAttachRequired() {
return attachRequired;
}
-
public void setAttachRequired(Boolean attachRequired) {
this.attachRequired = attachRequired;
}
public V1CSIDriverSpec fsGroupPolicy(String fsGroupPolicy) {
-
this.fsGroupPolicy = fsGroupPolicy;
return this;
}
@@ -125,14 +121,12 @@ public String getFsGroupPolicy() {
return fsGroupPolicy;
}
-
public void setFsGroupPolicy(String fsGroupPolicy) {
this.fsGroupPolicy = fsGroupPolicy;
}
public V1CSIDriverSpec podInfoOnMount(Boolean podInfoOnMount) {
-
this.podInfoOnMount = podInfoOnMount;
return this;
}
@@ -146,14 +140,12 @@ public Boolean getPodInfoOnMount() {
return podInfoOnMount;
}
-
public void setPodInfoOnMount(Boolean podInfoOnMount) {
this.podInfoOnMount = podInfoOnMount;
}
public V1CSIDriverSpec requiresRepublish(Boolean requiresRepublish) {
-
this.requiresRepublish = requiresRepublish;
return this;
}
@@ -167,14 +159,12 @@ public Boolean getRequiresRepublish() {
return requiresRepublish;
}
-
public void setRequiresRepublish(Boolean requiresRepublish) {
this.requiresRepublish = requiresRepublish;
}
public V1CSIDriverSpec seLinuxMount(Boolean seLinuxMount) {
-
this.seLinuxMount = seLinuxMount;
return this;
}
@@ -188,14 +178,12 @@ public Boolean getSeLinuxMount() {
return seLinuxMount;
}
-
public void setSeLinuxMount(Boolean seLinuxMount) {
this.seLinuxMount = seLinuxMount;
}
public V1CSIDriverSpec storageCapacity(Boolean storageCapacity) {
-
this.storageCapacity = storageCapacity;
return this;
}
@@ -209,14 +197,12 @@ public Boolean getStorageCapacity() {
return storageCapacity;
}
-
public void setStorageCapacity(Boolean storageCapacity) {
this.storageCapacity = storageCapacity;
}
public V1CSIDriverSpec tokenRequests(List tokenRequests) {
-
this.tokenRequests = tokenRequests;
return this;
}
@@ -238,14 +224,12 @@ public List getTokenRequests() {
return tokenRequests;
}
-
public void setTokenRequests(List tokenRequests) {
this.tokenRequests = tokenRequests;
}
public V1CSIDriverSpec volumeLifecycleModes(List volumeLifecycleModes) {
-
this.volumeLifecycleModes = volumeLifecycleModes;
return this;
}
@@ -267,7 +251,6 @@ public List getVolumeLifecycleModes() {
return volumeLifecycleModes;
}
-
public void setVolumeLifecycleModes(List volumeLifecycleModes) {
this.volumeLifecycleModes = volumeLifecycleModes;
}
@@ -346,25 +329,26 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1CSIDriverSpec
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1CSIDriverSpec
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1CSIDriverSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1CSIDriverSpec.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1CSIDriverSpec is not found in the empty JSON string", V1CSIDriverSpec.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1CSIDriverSpec.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSIDriverSpec` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSIDriverSpec` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
+ JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("fsGroupPolicy") != null && !jsonObj.get("fsGroupPolicy").isJsonNull()) && !jsonObj.get("fsGroupPolicy").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `fsGroupPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fsGroupPolicy").toString()));
}
@@ -378,12 +362,12 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
// validate the optional field `tokenRequests` (array)
for (int i = 0; i < jsonArraytokenRequests.size(); i++) {
- StorageV1TokenRequest.validateJsonObject(jsonArraytokenRequests.get(i).getAsJsonObject());
+ StorageV1TokenRequest.validateJsonElement(jsonArraytokenRequests.get(i));
};
}
}
// ensure the optional json data is an array if present
- if (jsonObj.get("volumeLifecycleModes") != null && !jsonObj.get("volumeLifecycleModes").isJsonArray()) {
+ if (jsonObj.get("volumeLifecycleModes") != null && !jsonObj.get("volumeLifecycleModes").isJsonNull() && !jsonObj.get("volumeLifecycleModes").isJsonArray()) {
throw new IllegalArgumentException(String.format("Expected the field `volumeLifecycleModes` to be an array in the JSON string but got `%s`", jsonObj.get("volumeLifecycleModes").toString()));
}
}
@@ -408,9 +392,9 @@ public void write(JsonWriter out, V1CSIDriverSpec value) throws IOException {
@Override
public V1CSIDriverSpec read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 fff635ce41..6ecb9be1fa 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1CSINodeSpec;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import java.io.IOException;
+import java.util.Arrays;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -43,7 +43,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -51,7 +50,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.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINode implements io.kubernetes.client.common.KubernetesObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -73,7 +72,6 @@ public V1CSINode() {
}
public V1CSINode apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -87,14 +85,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1CSINode kind(String kind) {
-
this.kind = kind;
return this;
}
@@ -108,14 +104,12 @@ public String getKind() {
return kind;
}
-
public void setKind(String kind) {
this.kind = kind;
}
public V1CSINode metadata(V1ObjectMeta metadata) {
-
this.metadata = metadata;
return this;
}
@@ -129,14 +123,12 @@ public V1ObjectMeta getMetadata() {
return metadata;
}
-
public void setMetadata(V1ObjectMeta metadata) {
this.metadata = metadata;
}
public V1CSINode spec(V1CSINodeSpec spec) {
-
this.spec = spec;
return this;
}
@@ -150,7 +142,6 @@ public V1CSINodeSpec getSpec() {
return spec;
}
-
public void setSpec(V1CSINodeSpec spec) {
this.spec = spec;
}
@@ -218,32 +209,33 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1CSINode
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1CSINode
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1CSINode.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1CSINode.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1CSINode is not found in the empty JSON string", V1CSINode.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1CSINode.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSINode` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSINode` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1CSINode.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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()));
}
@@ -252,10 +244,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
}
// validate the optional field `metadata`
if (jsonObj.get("metadata") != null && !jsonObj.get("metadata").isJsonNull()) {
- V1ObjectMeta.validateJsonObject(jsonObj.getAsJsonObject("metadata"));
+ V1ObjectMeta.validateJsonElement(jsonObj.get("metadata"));
}
// validate the required field `spec`
- V1CSINodeSpec.validateJsonObject(jsonObj.getAsJsonObject("spec"));
+ V1CSINodeSpec.validateJsonElement(jsonObj.get("spec"));
}
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
@@ -278,9 +270,9 @@ public void write(JsonWriter out, V1CSINode value) throws IOException {
@Override
public V1CSINode read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 fe4dd1a57f..748db58975 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -22,6 +21,7 @@
import io.kubernetes.client.openapi.models.V1VolumeNodeResources;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -44,7 +44,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -52,7 +51,7 @@
/**
* CSINodeDriver holds information about the specification of one CSI driver installed on a node
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINodeDriver {
public static final String SERIALIZED_NAME_ALLOCATABLE = "allocatable";
@SerializedName(SERIALIZED_NAME_ALLOCATABLE)
@@ -68,13 +67,12 @@ public class V1CSINodeDriver {
public static final String SERIALIZED_NAME_TOPOLOGY_KEYS = "topologyKeys";
@SerializedName(SERIALIZED_NAME_TOPOLOGY_KEYS)
- private List topologyKeys;
+ private List topologyKeys = new ArrayList<>();
public V1CSINodeDriver() {
}
public V1CSINodeDriver allocatable(V1VolumeNodeResources allocatable) {
-
this.allocatable = allocatable;
return this;
}
@@ -88,14 +86,12 @@ public V1VolumeNodeResources getAllocatable() {
return allocatable;
}
-
public void setAllocatable(V1VolumeNodeResources allocatable) {
this.allocatable = allocatable;
}
public V1CSINodeDriver name(String name) {
-
this.name = name;
return this;
}
@@ -109,14 +105,12 @@ public String getName() {
return name;
}
-
public void setName(String name) {
this.name = name;
}
public V1CSINodeDriver nodeID(String nodeID) {
-
this.nodeID = nodeID;
return this;
}
@@ -130,14 +124,12 @@ public String getNodeID() {
return nodeID;
}
-
public void setNodeID(String nodeID) {
this.nodeID = nodeID;
}
public V1CSINodeDriver topologyKeys(List topologyKeys) {
-
this.topologyKeys = topologyKeys;
return this;
}
@@ -159,7 +151,6 @@ public List getTopologyKeys() {
return topologyKeys;
}
-
public void setTopologyKeys(List topologyKeys) {
this.topologyKeys = topologyKeys;
}
@@ -228,35 +219,36 @@ private String toIndentedString(Object o) {
}
/**
- * Validates the JSON Object and throws an exception if issues found
+ * Validates the JSON Element and throws an exception if issues found
*
- * @param jsonObj JSON Object
- * @throws IOException if the JSON Object is invalid with respect to V1CSINodeDriver
+ * @param jsonElement JSON Element
+ * @throws IOException if the JSON Element is invalid with respect to V1CSINodeDriver
*/
- public static void validateJsonObject(JsonObject jsonObj) throws IOException {
- if (jsonObj == null) {
- if (!V1CSINodeDriver.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null
+ public static void validateJsonElement(JsonElement jsonElement) throws IOException {
+ if (jsonElement == null) {
+ if (!V1CSINodeDriver.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
throw new IllegalArgumentException(String.format("The required field(s) %s in V1CSINodeDriver is not found in the empty JSON string", V1CSINodeDriver.openapiRequiredFields.toString()));
}
}
- Set> entries = jsonObj.entrySet();
+ Set> entries = jsonElement.getAsJsonObject().entrySet();
// check to see if the JSON string contains additional fields
- for (Entry entry : entries) {
+ for (Map.Entry entry : entries) {
if (!V1CSINodeDriver.openapiFields.contains(entry.getKey())) {
- throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSINodeDriver` properties. JSON: %s", entry.getKey(), jsonObj.toString()));
+ throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `V1CSINodeDriver` properties. JSON: %s", entry.getKey(), jsonElement.toString()));
}
}
// check to make sure all required properties/fields are present in the JSON string
for (String requiredField : V1CSINodeDriver.openapiRequiredFields) {
- if (jsonObj.get(requiredField) == null) {
- throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString()));
+ 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 `allocatable`
if (jsonObj.get("allocatable") != null && !jsonObj.get("allocatable").isJsonNull()) {
- V1VolumeNodeResources.validateJsonObject(jsonObj.getAsJsonObject("allocatable"));
+ V1VolumeNodeResources.validateJsonElement(jsonObj.get("allocatable"));
}
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()));
@@ -265,7 +257,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException {
throw new IllegalArgumentException(String.format("Expected the field `nodeID` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nodeID").toString()));
}
// ensure the optional json data is an array if present
- if (jsonObj.get("topologyKeys") != null && !jsonObj.get("topologyKeys").isJsonArray()) {
+ if (jsonObj.get("topologyKeys") != null && !jsonObj.get("topologyKeys").isJsonNull() && !jsonObj.get("topologyKeys").isJsonArray()) {
throw new IllegalArgumentException(String.format("Expected the field `topologyKeys` to be an array in the JSON string but got `%s`", jsonObj.get("topologyKeys").toString()));
}
}
@@ -290,9 +282,9 @@ public void write(JsonWriter out, V1CSINodeDriver value) throws IOException {
@Override
public V1CSINodeDriver read(JsonReader in) throws IOException {
- JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject();
- validateJsonObject(jsonObj);
- return thisAdapter.fromJsonTree(jsonObj);
+ JsonElement jsonElement = elementAdapter.read(in);
+ validateJsonElement(jsonElement);
+ return thisAdapter.fromJsonTree(jsonElement);
}
}.nullSafe();
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 58a58771ba..273ac8df7b 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
@@ -13,7 +13,6 @@
package io.kubernetes.client.openapi.models;
import java.util.Objects;
-import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
@@ -23,6 +22,7 @@
import io.kubernetes.client.openapi.models.V1ListMeta;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import com.google.gson.Gson;
@@ -45,7 +45,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Map.Entry;
import java.util.Set;
import io.kubernetes.client.openapi.JSON;
@@ -53,7 +52,7 @@
/**
* CSINodeList is a collection of CSINode objects.
*/
-@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-04-23T13:45:09.091597Z[Etc/UTC]")
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-09T20:15:56.920539Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class V1CSINodeList implements io.kubernetes.client.common.KubernetesListObject {
public static final String SERIALIZED_NAME_API_VERSION = "apiVersion";
@SerializedName(SERIALIZED_NAME_API_VERSION)
@@ -75,7 +74,6 @@ public V1CSINodeList() {
}
public V1CSINodeList apiVersion(String apiVersion) {
-
this.apiVersion = apiVersion;
return this;
}
@@ -89,14 +87,12 @@ public String getApiVersion() {
return apiVersion;
}
-
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public V1CSINodeList items(List items) {
-
this.items = items;
return this;
}
@@ -118,14 +114,12 @@ public List